Write filler with NO_VOLUMETRICS

This commit is contained in:
Scott Lahteine 2018-01-04 20:23:24 -06:00
parent 3ea6745b36
commit 878f54c27b

View file

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