Browse Source

Fix redundant_temperatrure_raw setting

Scott Lahteine 9 years ago
parent
commit
df02b992b0
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/temperature.cpp

+ 3
- 2
Marlin/temperature.cpp View File

@@ -1181,9 +1181,10 @@ static void set_current_temp_raw() {
1181 1181
   #endif
1182 1182
   #if HAS_TEMP_1
1183 1183
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT
1184
-      redundant_temperature_raw =
1184
+      redundant_temperature_raw = raw_temp_value[1];
1185
+    #else
1186
+      current_temperature_raw[1] = raw_temp_value[1];
1185 1187
     #endif
1186
-    current_temperature_raw[1] = raw_temp_value[1];
1187 1188
     #if HAS_TEMP_2
1188 1189
       current_temperature_raw[2] = raw_temp_value[2];
1189 1190
       #if HAS_TEMP_3

Loading…
Cancel
Save