Skip to content

Commit

Permalink
🎨 Suppress warning (MarlinFirmware#25101)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and thinkyhead committed Dec 18, 2022
1 parent 2a724bd commit 471330b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/tft/touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void Touch::touch(touch_control_t *control) {
void Touch::hold(touch_control_t *control, millis_t delay) {
current_control = control;
if (delay) {
repeat_delay = _MAX(delay, MIN_REPEAT_DELAY);
repeat_delay = _MAX(delay, uint32_t(MIN_REPEAT_DELAY));
time_to_hold = next_touch_ms + repeat_delay;
}
ui.refresh();
Expand Down

0 comments on commit 471330b

Please sign in to comment.