From a9445d557e2824f5da4bc5972ee88d58bbed2572 Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Sat, 29 Jun 2019 01:54:22 +0200 Subject: [PATCH] Remove extra #if (#14439) --- Marlin/src/module/temperature.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Marlin/src/module/temperature.cpp b/Marlin/src/module/temperature.cpp index fc93319de..f5a37568a 100644 --- a/Marlin/src/module/temperature.cpp +++ b/Marlin/src/module/temperature.cpp @@ -1967,17 +1967,13 @@ void Temperature::disable_all_heaters() { #if HAS_HEATED_BED temp_bed.target = 0; temp_bed.soft_pwm_amount = 0; - #if HAS_HEATED_BED - WRITE_HEATER_BED(LOW); - #endif + WRITE_HEATER_BED(LOW); #endif #if HAS_HEATED_CHAMBER temp_chamber.target = 0; temp_chamber.soft_pwm_amount = 0; - #if HAS_HEATED_CHAMBER - WRITE_HEATER_CHAMBER(LOW); - #endif + WRITE_HEATER_CHAMBER(LOW); #endif }