Skip to content

Commit

Permalink
Fix UBL Debug Messages (MarlinFirmware#20423)
Browse files Browse the repository at this point in the history
Co-authored-by: ellensp <ellensp@hotmsil.com>
  • Loading branch information
2 people authored and chrisjenda committed Apr 11, 2021
1 parent 8ae9c2d commit 48258a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ void MarlinSettings::postprocess() {
);
#endif

#define DEBUG_OUT ENABLED(EEPROM_CHITCHAT)
#define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
#include "../core/debug_out.h"

#if ENABLED(EEPROM_SETTINGS)
Expand Down Expand Up @@ -2267,14 +2267,14 @@ void MarlinSettings::postprocess() {

if (!ubl.sanity_check()) {
SERIAL_EOL();
#if ENABLED(EEPROM_CHITCHAT)
#if BOTH(EEPROM_CHITCHAT, DEBUG_LEVELING_FEATURE)
ubl.echo_name();
DEBUG_ECHOLNPGM(" initialized.\n");
#endif
}
else {
eeprom_error = true;
#if ENABLED(EEPROM_CHITCHAT)
#if BOTH(EEPROM_CHITCHAT, DEBUG_LEVELING_FEATURE)
DEBUG_ECHOPGM("?Can't enable ");
ubl.echo_name();
DEBUG_ECHOLNPGM(".");
Expand Down

0 comments on commit 48258a1

Please sign in to comment.