Merge pull request #7515 from cdedwards/bugfix-1.1.x
Fix for G26 spam output
This commit is contained in:
commit
2a31c9f2ce
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Reference in a new issue