Use uint16_t for temps
This commit is contained in:
@ -103,24 +103,24 @@ int16_t Temperature::current_temperature_raw[HOTENDS] = { 0 },
|
||||
#endif
|
||||
|
||||
#if WATCH_HOTENDS
|
||||
int Temperature::watch_target_temp[HOTENDS] = { 0 };
|
||||
uint16_t Temperature::watch_target_temp[HOTENDS] = { 0 };
|
||||
millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
|
||||
#endif
|
||||
|
||||
#if WATCH_THE_BED
|
||||
int Temperature::watch_target_bed_temp = 0;
|
||||
uint16_t Temperature::watch_target_bed_temp = 0;
|
||||
millis_t Temperature::watch_bed_next_ms = 0;
|
||||
#endif
|
||||
|
||||
#if ENABLED(PREVENT_COLD_EXTRUSION)
|
||||
bool Temperature::allow_cold_extrude = false;
|
||||
float Temperature::extrude_min_temp = EXTRUDE_MINTEMP;
|
||||
uint16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP;
|
||||
#endif
|
||||
|
||||
// private:
|
||||
|
||||
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
||||
int Temperature::redundant_temperature_raw = 0;
|
||||
uint16_t Temperature::redundant_temperature_raw = 0;
|
||||
float Temperature::redundant_temperature = 0.0;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user