Skip to content

Commit

Permalink
Missing value init
Browse files Browse the repository at this point in the history
seems working without it but... to avoid :p
  • Loading branch information
tpruvot committed Sep 4, 2021
1 parent 13428c7 commit d9e2b69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Marlin/src/lcd/tft/touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ void Touch::init() {
TERN_(TOUCH_SCREEN_CALIBRATION, touch_calibration.calibration_reset());
reset();
io.Init();
#if TOUCH_IDLE_SLEEP > 0
last_touched_ms = millis();
#endif
enable();
}

Expand Down

0 comments on commit d9e2b69

Please sign in to comment.