Browse Source

Update ConfigurationStore.cpp

Unable to compile if ENABLE_AUTO_BED_LEVELING is not set (not set by default).
l.lefebvre 10 years ago
parent
commit
fdac8f6cec
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/ConfigurationStore.cpp

+ 2
- 0
Marlin/ConfigurationStore.cpp View File

@@ -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

Loading…
Cancel
Save