Browse Source

Fix redundant_temperatrure_raw setting

Scott Lahteine 10 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
   #endif
1181
   #endif
1182
   #if HAS_TEMP_1
1182
   #if HAS_TEMP_1
1183
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT
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
     #endif
1187
     #endif
1186
-    current_temperature_raw[1] = raw_temp_value[1];
1187
     #if HAS_TEMP_2
1188
     #if HAS_TEMP_2
1188
       current_temperature_raw[2] = raw_temp_value[2];
1189
       current_temperature_raw[2] = raw_temp_value[2];
1189
       #if HAS_TEMP_3
1190
       #if HAS_TEMP_3

Loading…
Cancel
Save