Negative times are unlikly

While bunting an other bug I stumbled across:
ultralcd.cpp:1250: warning: comparison between signed and unsigned
integer expressions
Changed to the type of lcd_next_update_millis.
master
AnHardt 9 years ago
parent f5f99c4883
commit 450b89e63c

@ -1246,7 +1246,7 @@ void lcd_update() {
}
#endif//CARDINSERTED
long ms = millis();
uint32_t ms = millis();
if (ms > lcd_next_update_millis) {
#ifdef ULTIPANEL

Loading…
Cancel
Save