From 3419099f0a1c3b7c558b93a4562071bfff23fa45 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 10 Mar 2019 19:09:19 -0500 Subject: [PATCH] Clean up whitespace --- Marlin/src/module/planner.cpp | 3 +++ Marlin/src/module/temperature.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index c383dae753..a19cf47a6b 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -1264,6 +1264,7 @@ void Planner::check_axes_activity() { #endif #if ENABLED(FAN_SOFT_PWM) + #if HAS_FAN0 thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0); #endif @@ -1275,6 +1276,7 @@ void Planner::check_axes_activity() { #endif #elif ENABLED(FAST_PWM_FAN) + #if HAS_FAN0 thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0)); #endif @@ -1286,6 +1288,7 @@ void Planner::check_axes_activity() { #endif #else + #if HAS_FAN0 analogWrite(FAN_PIN, CALC_FAN_SPEED(0)); #endif diff --git a/Marlin/src/module/temperature.cpp b/Marlin/src/module/temperature.cpp index c277c4a651..46e05f58ff 100644 --- a/Marlin/src/module/temperature.cpp +++ b/Marlin/src/module/temperature.cpp @@ -2270,7 +2270,7 @@ void Temperature::readings_ready() { #else #define CHAMBERCMP(A,B) ((A)>=(B)) #endif - const bool chamber_on = (temp_chamber.target > 0) + const bool chamber_on = (temp_chamber.target > 0) #if ENABLED(PIDTEMPCHAMBER) || (temp_chamber.soft_pwm_amount > 0) #endif