fix redefinition errors for redundant_temperature

Removing redundant_temperature from public section and leaving it in the
private section
This commit is contained in:
Bob-the-Kuhn 2017-06-03 16:40:14 -05:00
parent 862def2ef4
commit c34d7a29a6
2 changed files with 0 additions and 8 deletions

View File

@ -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),

View File

@ -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;