Browse Source

💥 Generalize extra debugging

Scott Lahteine 2 years ago
parent
commit
e2446dc561
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/src/core/language.h
  2. 2
    2
      Marlin/src/gcode/control/M111.cpp

+ 1
- 1
Marlin/src/core/language.h View File

@@ -254,7 +254,7 @@
254 254
 #define STR_DEBUG_ERRORS                    "ERRORS"
255 255
 #define STR_DEBUG_DRYRUN                    "DRYRUN"
256 256
 #define STR_DEBUG_COMMUNICATION             "COMMUNICATION"
257
-#define STR_DEBUG_LEVELING                  "LEVELING"
257
+#define STR_DEBUG_DETAIL                    "DETAIL"
258 258
 
259 259
 #define STR_PRINTER_LOCKED                  "Printer locked! (Unlock with M511 or LCD)"
260 260
 #define STR_WRONG_PASSWORD                  "Incorrect Password"

+ 2
- 2
Marlin/src/gcode/control/M111.cpp View File

@@ -34,12 +34,12 @@ void GcodeSuite::M111() {
34 34
   static PGMSTR(str_debug_8, STR_DEBUG_DRYRUN);
35 35
   static PGMSTR(str_debug_16, STR_DEBUG_COMMUNICATION);
36 36
   #if ENABLED(DEBUG_LEVELING_FEATURE)
37
-    static PGMSTR(str_debug_lvl, STR_DEBUG_LEVELING);
37
+    static PGMSTR(str_debug_detail, STR_DEBUG_DETAIL);
38 38
   #endif
39 39
 
40 40
   static PGM_P const debug_strings[] PROGMEM = {
41 41
     str_debug_1, str_debug_2, str_debug_4, str_debug_8, str_debug_16,
42
-    TERN_(DEBUG_LEVELING_FEATURE, str_debug_lvl)
42
+    TERN_(DEBUG_LEVELING_FEATURE, str_debug_detail)
43 43
   };
44 44
 
45 45
   SERIAL_ECHO_START();

Loading…
Cancel
Save