瀏覽代碼

Fix compile DEBUG_EEPROM_READWRITE error (#12746)

Ludy 5 年之前
父節點
當前提交
135c74017c
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      Marlin/src/module/configuration_store.cpp

+ 4
- 1
Marlin/src/module/configuration_store.cpp 查看文件

@@ -487,6 +487,9 @@ void MarlinSettings::postprocess() {
487 487
           dummy = float(DEFAULT_EJERK);
488 488
           EEPROM_WRITE(dummy);
489 489
         #endif
490
+      #else
491
+        const float planner_max_jerk[XYZE] = { float(DEFAULT_EJERK) };	
492
+        EEPROM_WRITE(planner_max_jerk);
490 493
       #endif
491 494
 
492 495
       #if ENABLED(JUNCTION_DEVIATION)
@@ -693,7 +696,7 @@ void MarlinSettings::postprocess() {
693 696
     // LCD Preheat settings
694 697
     //
695 698
     {
696
-      _FIELD_TEST(lcd_preheat_hotend_temp);
699
+      _FIELD_TEST(ui_preheat_hotend_temp);
697 700
 
698 701
       #if HAS_LCD_MENU
699 702
         const int16_t (&ui_preheat_hotend_temp)[2]  = ui.preheat_hotend_temp,

Loading…
取消
儲存