Reset filament_size with a loop
This commit is contained in:
parent
ae9274be05
commit
70be61d416
1 changed files with 2 additions and 10 deletions
|
@ -565,16 +565,8 @@ void Config_ResetDefault() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
volumetric_enabled = false;
|
volumetric_enabled = false;
|
||||||
filament_size[0] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
for (int q=0; q<COUNT(filament_size); q++)
|
||||||
#if EXTRUDERS > 1
|
filament_size[q] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
||||||
filament_size[1] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
|
||||||
#if EXTRUDERS > 2
|
|
||||||
filament_size[2] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
|
||||||
#if EXTRUDERS > 3
|
|
||||||
filament_size[3] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
calculate_volumetric_multipliers();
|
calculate_volumetric_multipliers();
|
||||||
|
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
|
|
Reference in a new issue