Procházet zdrojové kódy

HotFix - Calibrate XYZ and Calibrate Z now prints status messages of next step after confirming that both carriages are all the way up.

michalprusa před 8 roky
rodič
revize
d0e678e1d1
1 změnil soubory, kde provedl 13 přidání a 0 odebrání
  1. 13 0
      Firmware/ultralcd.cpp

+ 13 - 0
Firmware/ultralcd.cpp

@@ -1501,6 +1501,19 @@ calibrated:
     // during the search for the induction points.
     current_position[Z_AXIS] = Z_MAX_POS-3.f;
     plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
+    
+    
+    if(only_z){
+        lcd_display_message_fullscreen_P(MSG_MEASURE_BED_REFERENCE_HEIGHT_LINE1);
+        lcd_implementation_print_at(0, 3, 1);
+        lcd_printPGM(MSG_MEASURE_BED_REFERENCE_HEIGHT_LINE2);
+    }else{
+        lcd_display_message_fullscreen_P(MSG_FIND_BED_OFFSET_AND_SKEW_LINE1);
+        lcd_implementation_print_at(0, 2, 1);
+        lcd_printPGM(MSG_FIND_BED_OFFSET_AND_SKEW_LINE2);
+    }
+    
+    
     return true;
 
 canceled: