Add temperature-based auto power options (#14397)
This commit is contained in:
1 parent
00cc1079af
commit
8ce84fa44f
109 files changed
+224
-2
No files matched your search
@@ -684,11 +684,11 @@ int16_t Temperature::getHeaterPower(const int8_t heater) {
|
||||
uint8_t fanState = 0;
|
||||
|
||||
HOTEND_LOOP()
|
||||
if (temp_hotend[e].current > EXTRUDER_AUTO_FAN_TEMPERATURE)
|
||||
if (temp_hotend[e].current >= EXTRUDER_AUTO_FAN_TEMPERATURE)
|
||||
SBI(fanState, pgm_read_byte(&fanBit[e]));
|
||||
|
||||
#if HAS_AUTO_CHAMBER_FAN
|
||||
if (temp_chamber.current > CHAMBER_AUTO_FAN_TEMPERATURE)
|
||||
if (temp_chamber.current >= CHAMBER_AUTO_FAN_TEMPERATURE)
|
||||
SBI(fanState, pgm_read_byte(&fanBit[CHAMBER_FAN_INDEX]));
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user