Browse Source

Start at the first segment, not the last segment

Alex Voinea 2 năm trước cách đây
mục cha
commit
78534f3b48
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -9492,7 +9492,7 @@ uint16_t restore_interrupted_gcode() {
         return saved_segment_idx;
     }
     else
-        return 0;
+        return 1; //begin with the first segment
 }
 
 #ifdef MESH_BED_LEVELING