1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 05:48:43 +00:00

Merge pull request #7515 from cdedwards/bugfix-1.1.x

Fix for G26 spam output
This commit is contained in:
Scott Lahteine 2017-08-16 16:01:10 -05:00 committed by GitHub
commit 2a31c9f2ce

View File

@ -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();
}