Kaynağa Gözat

fix redefinition errors for redundant_temperature

Removing redundant_temperature from public section and leaving it in the
private section
Bob-the-Kuhn 8 yıl önce
ebeveyn
işleme
c34d7a29a6
2 değiştirilmiş dosya ile 0 ekleme ve 8 silme
  1. 0
    4
      Marlin/temperature.cpp
  2. 0
    4
      Marlin/temperature.h

+ 0
- 4
Marlin/temperature.cpp Dosyayı Görüntüle

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

+ 0
- 4
Marlin/temperature.h Dosyayı Görüntüle

@@ -112,10 +112,6 @@ class Temperature {
112 112
 
113 113
     static volatile bool in_temp_isr;
114 114
 
115
-    #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
116
-      static float redundant_temperature;
117
-    #endif
118
-
119 115
     static uint8_t soft_pwm_amount[HOTENDS],
120 116
                    soft_pwm_amount_bed;
121 117
 

Loading…
İptal
Kaydet