Quellcode durchsuchen

Fix broken M206/M428/G92 offsets

Scott Lahteine vor 8 Jahren
Ursprung
Commit
44a849bdce
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Datei anzeigen

@@ -1346,7 +1346,7 @@ bool get_target_extruder_from_command(int code) {
1346 1346
    * at the same positions relative to the machine.
1347 1347
    */
1348 1348
   void update_software_endstops(const AxisEnum axis) {
1349
-    const float offs = workspace_offset[axis] = LOGICAL_POSITION(0, axis);
1349
+    const float offs = workspace_offset[axis] = home_offset[axis] + position_shift[axis];
1350 1350
 
1351 1351
     #if ENABLED(DUAL_X_CARRIAGE)
1352 1352
       if (axis == X_AXIS) {

Laden…
Abbrechen
Speichern