Browse Source

🩹 Fix 'hdsl' warning

Scott Lahteine 3 years ago
parent
commit
813b6af724
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      Marlin/src/module/settings.cpp

+ 5
- 3
Marlin/src/module/settings.cpp View File

3203
 
3203
 
3204
   postprocess();
3204
   postprocess();
3205
 
3205
 
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
3209
 
3211
 
3210
   TERN_(EXTENSIBLE_UI, ExtUI::onFactoryReset());
3212
   TERN_(EXTENSIBLE_UI, ExtUI::onFactoryReset());
3211
 }
3213
 }

Loading…
Cancel
Save