Jason Smith
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/module/temperature.cpp
|
@ -1234,7 +1234,7 @@ void Temperature::manage_heater() { |
|
|
|
|
|
|
|
|
#if ENABLED(CHAMBER_FAN) |
|
|
#if ENABLED(CHAMBER_FAN) |
|
|
#if CHAMBER_FAN_MODE == 0 |
|
|
#if CHAMBER_FAN_MODE == 0 |
|
|
fan_chamber_pwm = CHAMBER_FAN_BASE |
|
|
fan_chamber_pwm = CHAMBER_FAN_BASE; |
|
|
#elif CHAMBER_FAN_MODE == 1 |
|
|
#elif CHAMBER_FAN_MODE == 1 |
|
|
fan_chamber_pwm = (temp_chamber.celsius > temp_chamber.target) ? (CHAMBER_FAN_BASE) + (CHAMBER_FAN_FACTOR) * (temp_chamber.celsius - temp_chamber.target) : 0; |
|
|
fan_chamber_pwm = (temp_chamber.celsius > temp_chamber.target) ? (CHAMBER_FAN_BASE) + (CHAMBER_FAN_FACTOR) * (temp_chamber.celsius - temp_chamber.target) : 0; |
|
|
#elif CHAMBER_FAN_MODE == 2 |
|
|
#elif CHAMBER_FAN_MODE == 2 |
|
|