Browse Source

Call report_current_position after M206 / M428

Scott Lahteine 8 years ago
parent
commit
68d0347e67
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/Marlin_main.cpp

+ 3
- 0
Marlin/Marlin_main.cpp View File

@@ -5199,7 +5199,9 @@ inline void gcode_M206() {
5199 5199
     if (code_seen('T')) set_home_offset(X_AXIS, code_value()); // Theta
5200 5200
     if (code_seen('P')) set_home_offset(Y_AXIS, code_value()); // Psi
5201 5201
   #endif
5202
+
5202 5203
   sync_plan_position();
5204
+  report_current_position();
5203 5205
 }
5204 5206
 
5205 5207
 #if ENABLED(DELTA)
@@ -5918,6 +5920,7 @@ inline void gcode_M428() {
5918 5920
 
5919 5921
   if (!err) {
5920 5922
     sync_plan_position();
5923
+    report_current_position();
5921 5924
     LCD_MESSAGEPGM(MSG_HOME_OFFSETS_APPLIED);
5922 5925
     #if HAS_BUZZER
5923 5926
       buzz(200, 659);

Loading…
Cancel
Save