🎨 Suppress warning (#25101)
This commit is contained in:
parent
2a724bd94e
commit
471330b56e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user