Browse Source

Fix compile DEBUG_EEPROM_READWRITE error (#12746)

pull/1/head
Ludy 6 years ago
committed by Scott Lahteine
parent
commit
135c74017c
  1. 5
      Marlin/src/module/configuration_store.cpp

5
Marlin/src/module/configuration_store.cpp

@ -487,6 +487,9 @@ void MarlinSettings::postprocess() {
dummy = float(DEFAULT_EJERK); dummy = float(DEFAULT_EJERK);
EEPROM_WRITE(dummy); EEPROM_WRITE(dummy);
#endif #endif
#else
const float planner_max_jerk[XYZE] = { float(DEFAULT_EJERK) };
EEPROM_WRITE(planner_max_jerk);
#endif #endif
#if ENABLED(JUNCTION_DEVIATION) #if ENABLED(JUNCTION_DEVIATION)
@ -693,7 +696,7 @@ void MarlinSettings::postprocess() {
// LCD Preheat settings // LCD Preheat settings
// //
{ {
_FIELD_TEST(lcd_preheat_hotend_temp); _FIELD_TEST(ui_preheat_hotend_temp);
#if HAS_LCD_MENU #if HAS_LCD_MENU
const int16_t (&ui_preheat_hotend_temp)[2] = ui.preheat_hotend_temp, const int16_t (&ui_preheat_hotend_temp)[2] = ui.preheat_hotend_temp,

Loading…
Cancel
Save