Browse Source

Misc. comments

Scott Lahteine 7 years ago
parent
commit
2ea4e74ed3
2 changed files with 6 additions and 8 deletions
  1. 4
    5
      Marlin/src/gcode/bedlevel/G26.cpp
  2. 2
    3
      Marlin/src/lcd/ultralcd.cpp

+ 4
- 5
Marlin/src/gcode/bedlevel/G26.cpp View File

437
             SERIAL_EOL();
437
             SERIAL_EOL();
438
           }
438
           }
439
           idle();
439
           idle();
440
-          MYSERIAL0.flush(); // G26 takes a long time to complete.   PronterFace can
441
-                             // over run the serial character buffer with M105's without
442
-                             // this fix
440
+          MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace may
441
+                             // overwhelm the serial buffer with M105's without this fix.
443
         }
442
         }
444
     #if ENABLED(ULTRA_LCD)
443
     #if ENABLED(ULTRA_LCD)
445
       }
444
       }
513
 
512
 
514
       wait_for_release();
513
       wait_for_release();
515
 
514
 
516
-      strcpy_P(lcd_status_message, PSTR("Done Priming")); // We can't do lcd_setstatusPGM() without having it continue;
517
-                                                          // So... We cheat to get a message up.
515
+      strcpy_P(lcd_status_message, PSTR("Done Priming")); // Hack to get the message up. May be obsolete.
516
+
518
       lcd_setstatusPGM(PSTR("Done Priming"), 99);
517
       lcd_setstatusPGM(PSTR("Done Priming"), 99);
519
       lcd_quick_feedback(true);
518
       lcd_quick_feedback(true);
520
       lcd_external_control = false;
519
       lcd_external_control = false;

+ 2
- 3
Marlin/src/lcd/ultralcd.cpp View File

5410
       }
5410
       }
5411
       #if ENABLED(AUTO_BED_LEVELING_UBL)
5411
       #if ENABLED(AUTO_BED_LEVELING_UBL)
5412
         if (lcd_external_control) {
5412
         if (lcd_external_control) {
5413
-          ubl.encoder_diff = encoderDiff;   // Make the encoder's rotation available to G29's Mesh Editor
5414
-          encoderDiff = 0;                  // We are going to lie to the LCD Panel and claim the encoder
5415
-                                            // knob has not turned.
5413
+          ubl.encoder_diff = encoderDiff;   // Make encoder rotation available to UBL G29 mesh editing.
5414
+          encoderDiff = 0;                  // Hide the encoder event from the current screen handler.
5416
         }
5415
         }
5417
       #endif
5416
       #endif
5418
       lastEncoderBits = enc;
5417
       lastEncoderBits = enc;

Loading…
Cancel
Save