Browse Source

Fix for G26 spam output

while heating, G26 will continuously spam the heater states instead of printing it out every 5000ms.
pull/1/head
cdedwards 7 years ago
parent
commit
f1843211e6
  1. 6
      Marlin/G26_Mesh_Validation_Tool.cpp

6
Marlin/G26_Mesh_Validation_Tool.cpp

@ -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…
Cancel
Save