mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 14:24:34 +00:00
Write filler for disabled volumetrics
This commit is contained in:
parent
a4e0fd7883
commit
760c4e94d5
@ -587,6 +587,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
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1088,6 +1095,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…
Reference in New Issue
Block a user