Browse Source

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.
pull/1/head
AnHardt 10 years ago
parent
commit
450b89e63c
  1. 2
      Marlin/ultralcd.cpp

2
Marlin/ultralcd.cpp

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