We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10ce16 commit 120a6a3Copy full SHA for 120a6a3
Marlin/src/module/temperature.cpp
@@ -3493,6 +3493,10 @@ void Temperature::isr() {
3493
3494
static int8_t temp_count = -1;
3495
static ADCSensorState adc_sensor_state = StartupDelay;
3496
+
3497
+ #ifndef SOFT_PWM_SCALE
3498
+ #define SOFT_PWM_SCALE 0
3499
+ #endif
3500
static uint8_t pwm_count = _BV(SOFT_PWM_SCALE);
3501
3502
// Avoid multiple loads of pwm_count
Marlin/src/module/temperature.h
@@ -41,10 +41,6 @@
41
#include "../feature/fancheck.h"
42
#endif
43
44
-#ifndef SOFT_PWM_SCALE
45
- #define SOFT_PWM_SCALE 0
46
-#endif
47
-
48
#define HOTEND_INDEX TERN(HAS_MULTI_HOTEND, e, 0)
49
#define E_NAME TERN_(HAS_MULTI_HOTEND, e)
50
0 commit comments