Skip to content

Commit

Permalink
💥 Generalize extra debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 7, 2022
1 parent 3f4112a commit ac6c1a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/core/language.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
#define STR_DEBUG_ERRORS "ERRORS"
#define STR_DEBUG_DRYRUN "DRYRUN"
#define STR_DEBUG_COMMUNICATION "COMMUNICATION"
#define STR_DEBUG_LEVELING "LEVELING"
#define STR_DEBUG_DETAIL "DETAIL"

#define STR_PRINTER_LOCKED "Printer locked! (Unlock with M511 or LCD)"
#define STR_WRONG_PASSWORD "Incorrect Password"
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/gcode/control/M111.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ void GcodeSuite::M111() {
static PGMSTR(str_debug_8, STR_DEBUG_DRYRUN);
static PGMSTR(str_debug_16, STR_DEBUG_COMMUNICATION);
#if ENABLED(DEBUG_LEVELING_FEATURE)
static PGMSTR(str_debug_lvl, STR_DEBUG_LEVELING);
static PGMSTR(str_debug_detail, STR_DEBUG_DETAIL);
#endif

static PGM_P const debug_strings[] PROGMEM = {
str_debug_1, str_debug_2, str_debug_4, str_debug_8, str_debug_16,
TERN_(DEBUG_LEVELING_FEATURE, str_debug_lvl)
TERN_(DEBUG_LEVELING_FEATURE, str_debug_detail)
};

SERIAL_ECHO_START();
Expand Down

0 comments on commit ac6c1a9

Please sign in to comment.