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:
AnHardt 2015-03-18 10:31:34 +01:00
parent f5f99c4883
commit 450b89e63c

View File

@ -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