浏览代码

Fix redundant_temperatrure_raw setting

Scott Lahteine 10 年前
父节点
当前提交
df02b992b0
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      Marlin/temperature.cpp

+ 3
- 2
Marlin/temperature.cpp 查看文件

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

正在加载...
取消
保存