1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

🎨 Suppress warning (#25101)

This commit is contained in:
ellensp 2022-12-17 17:43:54 +13:00 committed by Scott Lahteine
parent 2a724bd94e
commit 471330b56e

View File

@ -252,7 +252,7 @@ void Touch::touch(touch_control_t *control) {
void Touch::hold(touch_control_t *control, millis_t delay) { void Touch::hold(touch_control_t *control, millis_t delay) {
current_control = control; current_control = control;
if (delay) { 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; time_to_hold = next_touch_ms + repeat_delay;
} }
ui.refresh(); ui.refresh();