Skip to content

Commit 813b6af

Browse files
committed
🩹 Fix 'hdsl' warning
1 parent 4b84b28 commit 813b6af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Marlin/src/module/settings.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -3203,9 +3203,11 @@ void MarlinSettings::reset() {
32033203

32043204
postprocess();
32053205

3206-
FSTR_P const hdsl = F("Hardcoded Default Settings Loaded");
3207-
TERN_(HOST_EEPROM_CHITCHAT, hostui.notify(hdsl));
3208-
DEBUG_ECHO_START(); DEBUG_ECHOLNF(hdsl);
3206+
#if EITHER(EEPROM_CHITCHAT, DEBUG_LEVELING_FEATURE)
3207+
FSTR_P const hdsl = F("Hardcoded Default Settings Loaded");
3208+
TERN_(HOST_EEPROM_CHITCHAT, hostui.notify(hdsl));
3209+
DEBUG_ECHO_START(); DEBUG_ECHOLNF(hdsl);
3210+
#endif
32093211

32103212
TERN_(EXTENSIBLE_UI, ExtUI::onFactoryReset());
32113213
}

0 commit comments

Comments
 (0)