Skip to content

Commit 471330b

Browse files
ellenspthinkyhead
authored andcommitted
🎨 Suppress warning (MarlinFirmware#25101)
1 parent 2a724bd commit 471330b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/tft/touch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void Touch::touch(touch_control_t *control) {
252252
void Touch::hold(touch_control_t *control, millis_t delay) {
253253
current_control = control;
254254
if (delay) {
255-
repeat_delay = _MAX(delay, MIN_REPEAT_DELAY);
255+
repeat_delay = _MAX(delay, uint32_t(MIN_REPEAT_DELAY));
256256
time_to_hold = next_touch_ms + repeat_delay;
257257
}
258258
ui.refresh();

0 commit comments

Comments
 (0)