Browse Source

Write filler with NO_VOLUMETRICS

pull/1/head
Scott Lahteine 7 years ago
parent
commit
878f54c27b
  1. 12
      Marlin/src/module/configuration_store.cpp

12
Marlin/src/module/configuration_store.cpp

@ -560,6 +560,13 @@ void MarlinSettings::postprocess() {
EEPROM_WRITE(dummy); EEPROM_WRITE(dummy);
} }
#else
const bool volumetric_enabled = false;
dummy = DEFAULT_NOMINAL_FILAMENT_DIA;
EEPROM_WRITE(volumetric_enabled);
for (uint8_t q = MAX_EXTRUDERS; q--;) EEPROM_WRITE(dummy);
#endif #endif
// //
@ -1064,6 +1071,11 @@ void MarlinSettings::postprocess() {
if (q < COUNT(planner.filament_size)) planner.filament_size[q] = dummy; if (q < COUNT(planner.filament_size)) planner.filament_size[q] = dummy;
} }
#else
EEPROM_READ(dummyb);
for (uint8_t q=MAX_EXTRUDERS; q--;) EEPROM_READ(dummy);
#endif #endif
// //

Loading…
Cancel
Save