Removes some minor GCC warnings
This commit is contained in:
parent
46117593b9
commit
79e7721b76
|
@ -5325,7 +5325,7 @@ inline void gcode_M200() {
|
|||
if (volumetric_enabled) {
|
||||
filament_size[target_extruder] = code_value_linear_units();
|
||||
// make sure all extruders have some sane value for the filament size
|
||||
for (int i = 0; i < COUNT(filament_size); i++)
|
||||
for (uint8_t i = 0; i < COUNT(filament_size); i++)
|
||||
if (! filament_size[i]) filament_size[i] = DEFAULT_NOMINAL_FILAMENT_DIA;
|
||||
}
|
||||
}
|
||||
|
@ -8695,6 +8695,6 @@ float calculate_volumetric_multiplier(float diameter) {
|
|||
}
|
||||
|
||||
void calculate_volumetric_multipliers() {
|
||||
for (int i = 0; i < COUNT(filament_size); i++)
|
||||
for (uint8_t i = 0; i < COUNT(filament_size); i++)
|
||||
volumetric_multiplier[i] = calculate_volumetric_multiplier(filament_size[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue