We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a724bd commit 471330bCopy full SHA for 471330b
Marlin/src/lcd/tft/touch.cpp
@@ -252,7 +252,7 @@ void Touch::touch(touch_control_t *control) {
252
void Touch::hold(touch_control_t *control, millis_t delay) {
253
current_control = control;
254
if (delay) {
255
- repeat_delay = _MAX(delay, MIN_REPEAT_DELAY);
+ repeat_delay = _MAX(delay, uint32_t(MIN_REPEAT_DELAY));
256
time_to_hold = next_touch_ms + repeat_delay;
257
}
258
ui.refresh();
0 commit comments