Przeglądaj źródła

Fix broken M206/M428/G92 offsets

Scott Lahteine 8 lat temu
rodzic
commit
44a849bdce
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Wyświetl plik

1346
    * at the same positions relative to the machine.
1346
    * at the same positions relative to the machine.
1347
    */
1347
    */
1348
   void update_software_endstops(const AxisEnum axis) {
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
     #if ENABLED(DUAL_X_CARRIAGE)
1351
     #if ENABLED(DUAL_X_CARRIAGE)
1352
       if (axis == X_AXIS) {
1352
       if (axis == X_AXIS) {

Ładowanie…
Anuluj
Zapisz