Fix redundant_temperatrure_raw setting
This commit is contained in:
parent
fe29bdd72b
commit
df02b992b0
1 changed files with 3 additions and 2 deletions
|
@ -1181,9 +1181,10 @@ static void set_current_temp_raw() {
|
||||||
#endif
|
#endif
|
||||||
#if HAS_TEMP_1
|
#if HAS_TEMP_1
|
||||||
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
||||||
redundant_temperature_raw =
|
redundant_temperature_raw = raw_temp_value[1];
|
||||||
#endif
|
#else
|
||||||
current_temperature_raw[1] = raw_temp_value[1];
|
current_temperature_raw[1] = raw_temp_value[1];
|
||||||
|
#endif
|
||||||
#if HAS_TEMP_2
|
#if HAS_TEMP_2
|
||||||
current_temperature_raw[2] = raw_temp_value[2];
|
current_temperature_raw[2] = raw_temp_value[2];
|
||||||
#if HAS_TEMP_3
|
#if HAS_TEMP_3
|
||||||
|
|
Reference in a new issue