From c14332bfb2c6a1282e40dee4513a8de983b9a1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Fri, 21 Apr 2023 20:34:45 +0000 Subject: [PATCH] Combine two ifdefs --- Firmware/temperature.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Firmware/temperature.cpp b/Firmware/temperature.cpp index 07192c0e1..3d25961bc 100755 --- a/Firmware/temperature.cpp +++ b/Firmware/temperature.cpp @@ -1141,14 +1141,11 @@ FORCE_INLINE static void soft_pwm_core() static unsigned char slow_pwm_count = 0; static unsigned char state_heater_0 = 0; static unsigned char state_timer_heater_0 = 0; -#endif #if HEATER_BED_PIN > -1 - // @@DR static unsigned char soft_pwm_b; -#ifdef SLOW_PWM_HEATERS static unsigned char state_heater_b = 0; static unsigned char state_timer_heater_b = 0; -#endif -#endif +#endif // HEATER_BED_PIN > -1 +#endif // SLOW_PWM_HEATERS #ifndef SLOW_PWM_HEATERS /*