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.
This commit is contained in:
parent
f5f99c4883
commit
450b89e63c
|
@ -1246,7 +1246,7 @@ void lcd_update() {
|
||||||
}
|
}
|
||||||
#endif//CARDINSERTED
|
#endif//CARDINSERTED
|
||||||
|
|
||||||
long ms = millis();
|
uint32_t ms = millis();
|
||||||
if (ms > lcd_next_update_millis) {
|
if (ms > lcd_next_update_millis) {
|
||||||
|
|
||||||
#ifdef ULTIPANEL
|
#ifdef ULTIPANEL
|
||||||
|
|
Loading…
Reference in a new issue