parent
0c428a66d9
commit
9789c1c719
@ -566,8 +566,11 @@ int Temperature::getHeaterPower(const int heater) {
|
|||||||
HOTEND_LOOP()
|
HOTEND_LOOP()
|
||||||
if (current_temperature[e] > EXTRUDER_AUTO_FAN_TEMPERATURE)
|
if (current_temperature[e] > EXTRUDER_AUTO_FAN_TEMPERATURE)
|
||||||
SBI(fanState, pgm_read_byte(&fanBit[e]));
|
SBI(fanState, pgm_read_byte(&fanBit[e]));
|
||||||
|
|
||||||
|
#if HAS_TEMP_CHAMBER
|
||||||
if (current_temperature_chamber > EXTRUDER_AUTO_FAN_TEMPERATURE)
|
if (current_temperature_chamber > EXTRUDER_AUTO_FAN_TEMPERATURE)
|
||||||
SBI(fanState, pgm_read_byte(&fanBit[5]));
|
SBI(fanState, pgm_read_byte(&fanBit[5]));
|
||||||
|
#endif
|
||||||
|
|
||||||
uint8_t fanDone = 0;
|
uint8_t fanDone = 0;
|
||||||
for (uint8_t f = 0; f < COUNT(fanPin); f++) {
|
for (uint8_t f = 0; f < COUNT(fanPin); f++) {
|
||||||
|
@ -159,11 +159,6 @@ class Temperature {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_TEMP_CHAMBER
|
|
||||||
static float current_temperature_chamber;
|
|
||||||
static int16_t current_temperature_chamber_raw;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(BABYSTEPPING)
|
#if ENABLED(BABYSTEPPING)
|
||||||
static volatile int babystepsTodo[3];
|
static volatile int babystepsTodo[3];
|
||||||
#endif
|
#endif
|
||||||
@ -265,9 +260,10 @@ class Temperature {
|
|||||||
|
|
||||||
#if HAS_TEMP_CHAMBER
|
#if HAS_TEMP_CHAMBER
|
||||||
static uint16_t raw_temp_chamber_value;
|
static uint16_t raw_temp_chamber_value;
|
||||||
|
static float current_temperature_chamber;
|
||||||
|
static int16_t current_temperature_chamber_raw;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED
|
#ifdef MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED
|
||||||
static uint8_t consecutive_low_temperature_error[HOTENDS];
|
static uint8_t consecutive_low_temperature_error[HOTENDS];
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user