Przeglądaj źródła

🎨 Move switch sensor strings

Scott Lahteine 3 lat temu
rodzic
commit
e018f041ba
1 zmienionych plików z 25 dodań i 19 usunięć
  1. 25
    19
      Marlin/src/core/language.h

+ 25
- 19
Marlin/src/core/language.h Wyświetl plik

@@ -140,25 +140,7 @@
140 140
 #define STR_RESEND                          "Resend: "
141 141
 #define STR_UNKNOWN_COMMAND                 "Unknown command: \""
142 142
 #define STR_ACTIVE_EXTRUDER                 "Active Extruder: "
143
-#define STR_X_MIN                           "x_min"
144
-#define STR_X_MAX                           "x_max"
145
-#define STR_X2_MIN                          "x2_min"
146
-#define STR_X2_MAX                          "x2_max"
147
-#define STR_Y_MIN                           "y_min"
148
-#define STR_Y_MAX                           "y_max"
149
-#define STR_Y2_MIN                          "y2_min"
150
-#define STR_Y2_MAX                          "y2_max"
151
-#define STR_Z_MIN                           "z_min"
152
-#define STR_Z_MAX                           "z_max"
153
-#define STR_Z2_MIN                          "z2_min"
154
-#define STR_Z2_MAX                          "z2_max"
155
-#define STR_Z3_MIN                          "z3_min"
156
-#define STR_Z3_MAX                          "z3_max"
157
-#define STR_Z4_MIN                          "z4_min"
158
-#define STR_Z4_MAX                          "z4_max"
159
-#define STR_Z_PROBE                         "z_probe"
160
-#define STR_PROBE_EN                        "probe_en"
161
-#define STR_FILAMENT_RUNOUT_SENSOR          "filament"
143
+
162 144
 #define STR_PROBE_OFFSET                    "Probe Offset"
163 145
 #define STR_SKEW_MIN                        "min_skew_factor: "
164 146
 #define STR_SKEW_MAX                        "max_skew_factor: "
@@ -277,6 +259,30 @@
277 259
 #define STR_REMINDER_SAVE_SETTINGS          "Remember to save!"
278 260
 #define STR_PASSWORD_SET                    "Password is "
279 261
 
262
+//
263
+// Endstop Names used by Endstops::report_states
264
+//
265
+#define STR_X_MIN                           "x_min"
266
+#define STR_X_MAX                           "x_max"
267
+#define STR_X2_MIN                          "x2_min"
268
+#define STR_X2_MAX                          "x2_max"
269
+#define STR_Y_MIN                           "y_min"
270
+#define STR_Y_MAX                           "y_max"
271
+#define STR_Y2_MIN                          "y2_min"
272
+#define STR_Y2_MAX                          "y2_max"
273
+#define STR_Z_MIN                           "z_min"
274
+#define STR_Z_MAX                           "z_max"
275
+#define STR_Z2_MIN                          "z2_min"
276
+#define STR_Z2_MAX                          "z2_max"
277
+#define STR_Z3_MIN                          "z3_min"
278
+#define STR_Z3_MAX                          "z3_max"
279
+#define STR_Z4_MIN                          "z4_min"
280
+#define STR_Z4_MAX                          "z4_max"
281
+#define STR_Z_PROBE                         "z_probe"
282
+#define STR_PROBE_EN                        "probe_en"
283
+#define STR_FILAMENT_RUNOUT_SENSOR          "filament"
284
+
285
+// General axis names
280 286
 #define STR_X "X"
281 287
 #define STR_Y "Y"
282 288
 #define STR_Z "Z"

Ładowanie…
Anuluj
Zapisz