mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
🎨 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) {
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user