🎨 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) {
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();