mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
General cleanup
This commit is contained in:
parent
2ad3ca5d8a
commit
4d98e3f0a7
@ -12511,7 +12511,7 @@ void prepare_move_to_destination() {
|
|||||||
|
|
||||||
#endif // FAST_PWM_FAN
|
#endif // FAST_PWM_FAN
|
||||||
|
|
||||||
float calculate_volumetric_multiplier(float diameter) {
|
float calculate_volumetric_multiplier(const float diameter) {
|
||||||
if (!volumetric_enabled || diameter == 0) return 1.0;
|
if (!volumetric_enabled || diameter == 0) return 1.0;
|
||||||
return 1.0 / (M_PI * sq(diameter * 0.5));
|
return 1.0 / (M_PI * sq(diameter * 0.5));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user