Merge pull request #7515 from cdedwards/bugfix-1.1.x
Fix for G26 spam output
This commit is contained in:
commit
2a31c9f2ce
|
@ -785,9 +785,10 @@
|
|||
if (ubl_lcd_clicked()) return exit_from_g26();
|
||||
#endif
|
||||
|
||||
if (PENDING(millis(), next)) {
|
||||
if (ELAPSED(millis(), next)) {
|
||||
next = millis() + 5000UL;
|
||||
print_heaterstates();
|
||||
SERIAL_EOL();
|
||||
}
|
||||
idle();
|
||||
}
|
||||
|
@ -806,9 +807,10 @@
|
|||
if (ubl_lcd_clicked()) return exit_from_g26();
|
||||
#endif
|
||||
|
||||
if (PENDING(millis(), next)) {
|
||||
if (ELAPSED(millis(), next)) {
|
||||
next = millis() + 5000UL;
|
||||
print_heaterstates();
|
||||
SERIAL_EOL();
|
||||
}
|
||||
idle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue