浏览代码

Update ConfigurationStore.cpp

Unable to compile if ENABLE_AUTO_BED_LEVELING is not set (not set by default).
l.lefebvre 10 年前
父节点
当前提交
fdac8f6cec
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      Marlin/ConfigurationStore.cpp

+ 2
- 0
Marlin/ConfigurationStore.cpp 查看文件

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

正在加载...
取消
保存