Merge pull request #6948 from Bob-the-Kuhn/redundant_temperature

fix redefinition errors for redundant_temperature
master
Scott Lahteine 8 years ago committed by GitHub
commit 46752588b9

@ -73,10 +73,6 @@ int16_t Temperature::current_temperature_raw[HOTENDS] = { 0 },
int16_t Temperature::target_temperature_bed = 0; int16_t Temperature::target_temperature_bed = 0;
#endif #endif
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
float Temperature::redundant_temperature = 0.0;
#endif
#if ENABLED(PIDTEMP) #if ENABLED(PIDTEMP)
#if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1 #if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1
float Temperature::Kp[HOTENDS] = ARRAY_BY_HOTENDS1(DEFAULT_Kp), float Temperature::Kp[HOTENDS] = ARRAY_BY_HOTENDS1(DEFAULT_Kp),

@ -112,10 +112,6 @@ class Temperature {
static volatile bool in_temp_isr; static volatile bool in_temp_isr;
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
static float redundant_temperature;
#endif
static uint8_t soft_pwm_amount[HOTENDS], static uint8_t soft_pwm_amount[HOTENDS],
soft_pwm_amount_bed; soft_pwm_amount_bed;

Loading…
Cancel
Save