Browse Source

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

Fix for G26 spam output
Scott Lahteine 7 years ago
parent
commit
2a31c9f2ce
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/G26_Mesh_Validation_Tool.cpp

+ 4
- 2
Marlin/G26_Mesh_Validation_Tool.cpp View File

@@ -785,9 +785,10 @@
785 785
               if (ubl_lcd_clicked()) return exit_from_g26();
786 786
             #endif
787 787
 
788
-            if (PENDING(millis(), next)) {
788
+            if (ELAPSED(millis(), next)) {
789 789
               next = millis() + 5000UL;
790 790
               print_heaterstates();
791
+              SERIAL_EOL();
791 792
             }
792 793
             idle();
793 794
           }
@@ -806,9 +807,10 @@
806 807
         if (ubl_lcd_clicked()) return exit_from_g26();
807 808
       #endif
808 809
 
809
-      if (PENDING(millis(), next)) {
810
+      if (ELAPSED(millis(), next)) {
810 811
         next = millis() + 5000UL;
811 812
         print_heaterstates();
813
+        SERIAL_EOL();
812 814
       }
813 815
       idle();
814 816
     }

Loading…
Cancel
Save