瀏覽代碼

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

fix redefinition errors for redundant_temperature
Scott Lahteine 8 年之前
父節點
當前提交
46752588b9
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0
    4
      Marlin/temperature.cpp
  2. 0
    4
      Marlin/temperature.h

+ 0
- 4
Marlin/temperature.cpp 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存