瀏覽代碼

Fix compile DEBUG_EEPROM_READWRITE error (#12746)

Ludy 6 年之前
父節點
當前提交
135c74017c
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      Marlin/src/module/configuration_store.cpp

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

487
           dummy = float(DEFAULT_EJERK);
487
           dummy = float(DEFAULT_EJERK);
488
           EEPROM_WRITE(dummy);
488
           EEPROM_WRITE(dummy);
489
         #endif
489
         #endif
490
+      #else
491
+        const float planner_max_jerk[XYZE] = { float(DEFAULT_EJERK) };	
492
+        EEPROM_WRITE(planner_max_jerk);
490
       #endif
493
       #endif
491
 
494
 
492
       #if ENABLED(JUNCTION_DEVIATION)
495
       #if ENABLED(JUNCTION_DEVIATION)
693
     // LCD Preheat settings
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
       #if HAS_LCD_MENU
701
       #if HAS_LCD_MENU
699
         const int16_t (&ui_preheat_hotend_temp)[2]  = ui.preheat_hotend_temp,
702
         const int16_t (&ui_preheat_hotend_temp)[2]  = ui.preheat_hotend_temp,

Loading…
取消
儲存