Quellcode durchsuchen

Update ConfigurationStore.cpp

Unable to compile if ENABLE_AUTO_BED_LEVELING is not set (not set by default).
l.lefebvre vor 10 Jahren
Ursprung
Commit
fdac8f6cec
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2
    0
      Marlin/ConfigurationStore.cpp

+ 2
- 0
Marlin/ConfigurationStore.cpp Datei anzeigen

@@ -274,7 +274,9 @@ void Config_ResetDefault()
274 274
     absPreheatHPBTemp = ABS_PREHEAT_HPB_TEMP;
275 275
     absPreheatFanSpeed = ABS_PREHEAT_FAN_SPEED;
276 276
 #endif
277
+#ifdef ENABLE_AUTO_BED_LEVELING
277 278
     zprobe_zoffset = -Z_PROBE_OFFSET_FROM_EXTRUDER;
279
+#endif
278 280
 #ifdef DOGLCD
279 281
     lcd_contrast = DEFAULT_LCD_CONTRAST;
280 282
 #endif

Laden…
Abbrechen
Speichern