🐛 Redundant Temp Sensor followup (#22196)

This commit is contained in:
Katelyn Schiesser
2021-07-06 17:36:41 -07:00
committed by GitHub
parent 9eb5444c20
commit b2f0913083
49 changed files with 1567 additions and 787 deletions

View File

@@ -428,6 +428,15 @@ class Temperature {
static heater_idle_t heater_idle[NR_HEATER_IDLE];
#endif // HEATER_IDLE_TIMER
#if HAS_ADC_BUTTONS
static uint32_t current_ADCKey_raw;
static uint16_t ADCKey_count;
#endif
#if ENABLED(PID_EXTRUSION_SCALING)
static int16_t lpq_len;
#endif
private:
@@ -486,15 +495,6 @@ class Temperature {
#endif
public:
#if HAS_ADC_BUTTONS
static uint32_t current_ADCKey_raw;
static uint16_t ADCKey_count;
#endif
#if ENABLED(PID_EXTRUSION_SCALING)
static int16_t lpq_len;
#endif
/**
* Instance Methods
*/
@@ -915,7 +915,7 @@ class Temperature {
#else
#define READ_MAX_TC(N) read_max_tc()
#endif
static int read_max_tc(TERN_(HAS_MULTI_MAX_TC, const uint8_t hindex=0));
static int16_t read_max_tc(TERN_(HAS_MULTI_MAX_TC, const uint8_t hindex=0));
#endif
static void checkExtruderAutoFans();