浏览代码

Misc. comments

Scott Lahteine 7 年前
父节点
当前提交
2ea4e74ed3
共有 2 个文件被更改,包括 6 次插入8 次删除
  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 查看文件

@@ -437,9 +437,8 @@ inline bool turn_on_heaters() {
437 437
             SERIAL_EOL();
438 438
           }
439 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 443
     #if ENABLED(ULTRA_LCD)
445 444
       }
@@ -513,8 +512,8 @@ inline bool prime_nozzle() {
513 512
 
514 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 517
       lcd_setstatusPGM(PSTR("Done Priming"), 99);
519 518
       lcd_quick_feedback(true);
520 519
       lcd_external_control = false;

+ 2
- 3
Marlin/src/lcd/ultralcd.cpp 查看文件

@@ -5410,9 +5410,8 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
5410 5410
       }
5411 5411
       #if ENABLED(AUTO_BED_LEVELING_UBL)
5412 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 5416
       #endif
5418 5417
       lastEncoderBits = enc;

正在加载...
取消
保存