Spacing in calculate_volumetric_multiplier(s)

This commit is contained in:
Scott Lahteine 2015-02-23 20:35:18 -08:00
parent 2af559cca3
commit c9a3eb0c1a

View File

@ -4695,12 +4695,12 @@ bool setTargetedHotend(int code){
float calculate_volumetric_multiplier(float diameter) {
if (!volumetric_enabled || diameter == 0) return 1.0;
if (!volumetric_enabled || diameter == 0) return 1.0;
float d2 = diameter * 0.5;
return 1.0 / (M_PI * d2 * d2);
return 1.0 / (M_PI * d2 * d2);
}
void calculate_volumetric_multipliers() {
for (int i=0; i<EXTRUDERS; i++)
volumetric_multiplier[i] = calculate_volumetric_multiplier(filament_size[i]);
volumetric_multiplier[i] = calculate_volumetric_multiplier(filament_size[i]);
}