Browse Source

Remove G29 lcd control debugging

Scott Lahteine 8 years ago
parent
commit
66eba3346b
1 changed files with 3 additions and 39 deletions
  1. 3
    39
      Marlin/ubl_G29.cpp

+ 3
- 39
Marlin/ubl_G29.cpp View File

@@ -490,48 +490,12 @@
490 490
           //
491 491
           fine_tune_mesh(x_pos, y_pos, code_seen('O') || code_seen('M'));
492 492
           break;
493
-        case 5:
494
-          ubl.find_mean_mesh_height();
495
-          break;
496
-        case 6:
497
-          ubl.shift_mesh_height();
498
-          break;
499 493
 
500
-        case 10:
501
-          // [DEBUG] Pay no attention to this stuff. It can be removed soon.
502
-          SERIAL_ECHO_START;
503
-          SERIAL_ECHOLNPGM("Checking G29 has control of LCD Panel:");
504
-          KEEPALIVE_STATE(PAUSED_FOR_USER);
505
-          ubl.has_control_of_lcd_panel = true;
506
-          while (!ubl_lcd_clicked()) {
507
-            safe_delay(250);
508
-            if (ubl.encoder_diff) {
509
-              SERIAL_ECHOLN((int)ubl.encoder_diff);
510
-              ubl.encoder_diff = 0;
511
-            }
512
-          }
513
-          SERIAL_ECHOLNPGM("G29 giving back control of LCD Panel.");
514
-          ubl.has_control_of_lcd_panel = false;
515
-          KEEPALIVE_STATE(IN_HANDLER);
516
-          break;
494
+        case 5: ubl.find_mean_mesh_height(); break;
517 495
 
518
-        case 11:
519
-          // [DEBUG] wait_for_user code. Pay no attention to this stuff. It can be removed soon.
520
-          SERIAL_ECHO_START;
521
-          SERIAL_ECHOLNPGM("Checking G29 has control of LCD Panel:");
522
-          KEEPALIVE_STATE(PAUSED_FOR_USER);
523
-          wait_for_user = true;
524
-          while (wait_for_user) {
525
-            safe_delay(250);
526
-            if (ubl.encoder_diff) {
527
-              SERIAL_ECHOLN((int)ubl.encoder_diff);
528
-              ubl.encoder_diff = 0;
529
-            }
530
-          }
531
-          SERIAL_ECHOLNPGM("G29 giving back control of LCD Panel.");
532
-          KEEPALIVE_STATE(IN_HANDLER);
533
-          break;
496
+        case 6: ubl.shift_mesh_height(); break;
534 497
       }
498
+
535 499
     }
536 500
 
537 501
     if (code_seen('T')) {

Loading…
Cancel
Save