More pass by reference changes

This commit is contained in:
Dave Allie
2025-12-06 15:50:11 +11:00
parent 5ed2fe391d
commit 4ecfdea1a1
7 changed files with 42 additions and 37 deletions

View File

@@ -31,7 +31,7 @@
GxEPD2_BW<GxEPD2_426_GDEQ0426T82, GxEPD2_426_GDEQ0426T82::HEIGHT> display(GxEPD2_426_GDEQ0426T82(EPD_CS, EPD_DC,
EPD_RST, EPD_BUSY));
InputManager inputManager;
EpdRenderer renderer(&display);
EpdRenderer renderer(display);
Screen* currentScreen;
CrossPointState appState;

View File

@@ -74,8 +74,6 @@ void EpubReaderScreen::handleInput() {
return;
}
Serial.printf("Prev released: %d, Next released: %d\n", prevReleased, nextReleased);
const bool skipChapter = inputManager.getHeldTime() > SKIP_CHAPTER_MS;
if (skipChapter) {