Move and update heated chamber settings (#13671)
Co-Authored-By: the-real-orca <stephan.veigl@gmail.com>
This commit is contained in:
@ -206,16 +206,10 @@ struct PIDHeaterInfo : public HeaterInfo {
|
||||
typedef heater_info_t bed_info_t;
|
||||
#endif
|
||||
#endif
|
||||
#if HAS_TEMP_CHAMBER
|
||||
#if HAS_HEATED_CHAMBER
|
||||
#if ENABLED(PIDTEMPCHAMBER)
|
||||
typedef struct PIDHeaterInfo<PID_t> chamber_info_t;
|
||||
#else
|
||||
typedef heater_info_t chamber_info_t;
|
||||
#endif
|
||||
#else
|
||||
typedef temp_info_t chamber_info_t;
|
||||
#endif
|
||||
#if HAS_HEATED_CHAMBER
|
||||
typedef heater_info_t chamber_info_t;
|
||||
#elif HAS_TEMP_CHAMBER
|
||||
typedef temp_info_t chamber_info_t;
|
||||
#endif
|
||||
|
||||
// Heater idle handling
|
||||
@ -339,9 +333,7 @@ class Temperature {
|
||||
#if WATCH_CHAMBER
|
||||
static heater_watch_t watch_chamber;
|
||||
#endif
|
||||
#if DISABLED(PIDTEMPCHAMBER)
|
||||
static millis_t next_chamber_check_ms;
|
||||
#endif
|
||||
static millis_t next_chamber_check_ms;
|
||||
#ifdef CHAMBER_MINTEMP
|
||||
static int16_t mintemp_raw_CHAMBER;
|
||||
#endif
|
||||
@ -653,7 +645,7 @@ class Temperature {
|
||||
/**
|
||||
* The software PWM power for a heater
|
||||
*/
|
||||
static int getHeaterPower(const int heater);
|
||||
static int16_t getHeaterPower(const int8_t heater);
|
||||
|
||||
/**
|
||||
* Switch off all heaters, set all target temperatures to 0
|
||||
|
Reference in New Issue
Block a user