Clean up whitespace
This commit is contained in:
parent
4c43e6c48b
commit
3419099f0a
|
@ -1264,6 +1264,7 @@ void Planner::check_axes_activity() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(FAN_SOFT_PWM)
|
#if ENABLED(FAN_SOFT_PWM)
|
||||||
|
|
||||||
#if HAS_FAN0
|
#if HAS_FAN0
|
||||||
thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0);
|
thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1275,6 +1276,7 @@ void Planner::check_axes_activity() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif ENABLED(FAST_PWM_FAN)
|
#elif ENABLED(FAST_PWM_FAN)
|
||||||
|
|
||||||
#if HAS_FAN0
|
#if HAS_FAN0
|
||||||
thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
|
thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
|
||||||
#endif
|
#endif
|
||||||
|
@ -1286,6 +1288,7 @@ void Planner::check_axes_activity() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if HAS_FAN0
|
#if HAS_FAN0
|
||||||
analogWrite(FAN_PIN, CALC_FAN_SPEED(0));
|
analogWrite(FAN_PIN, CALC_FAN_SPEED(0));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2270,7 +2270,7 @@ void Temperature::readings_ready() {
|
||||||
#else
|
#else
|
||||||
#define CHAMBERCMP(A,B) ((A)>=(B))
|
#define CHAMBERCMP(A,B) ((A)>=(B))
|
||||||
#endif
|
#endif
|
||||||
const bool chamber_on = (temp_chamber.target > 0)
|
const bool chamber_on = (temp_chamber.target > 0)
|
||||||
#if ENABLED(PIDTEMPCHAMBER)
|
#if ENABLED(PIDTEMPCHAMBER)
|
||||||
|| (temp_chamber.soft_pwm_amount > 0)
|
|| (temp_chamber.soft_pwm_amount > 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue