Quellcode durchsuchen

Compile error fix! Fix for merge artifacts.

Edward Patel vor 10 Jahren
Ursprung
Commit
2f0081bbb5
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp Datei anzeigen

@@ -2045,6 +2045,9 @@ inline void gcode_G28() {
2045 2045
       return;
2046 2046
     }
2047 2047
 
2048
+    int ix, iy;
2049
+    float z;
2050
+
2048 2051
     switch(state) {
2049 2052
       case MeshReport:
2050 2053
         if (mbl.active) {
@@ -2078,7 +2081,6 @@ inline void gcode_G28() {
2078 2081
           SERIAL_PROTOCOLLNPGM("Start mesh probing with \"G29 S1\" first.");
2079 2082
           return;
2080 2083
         }
2081
-        int ix, iy;
2082 2084
         if (probe_point == 0) {
2083 2085
           // Set Z to a positive value before recording the first Z.
2084 2086
           current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
@@ -2115,8 +2117,6 @@ inline void gcode_G28() {
2115 2117
         break;
2116 2118
 
2117 2119
       case MeshSet:
2118
-        int ix, iy;
2119
-        float z;
2120 2120
         if (code_seen('X') || code_seen('x')) {
2121 2121
           ix = code_value_long()-1;
2122 2122
           if (ix < 0 || ix >= MESH_NUM_X_POINTS) {

Laden…
Abbrechen
Speichern