mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
Write filler for disabled volumetrics
This commit is contained in:
parent
a4e0fd7883
commit
760c4e94d5
1 changed files with 12 additions and 0 deletions
|
@ -587,6 +587,13 @@ void MarlinSettings::postprocess() {
|
|||
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
|
||||
|
||||
//
|
||||
|
@ -1088,6 +1095,11 @@ void MarlinSettings::postprocess() {
|
|||
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
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue