File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1220,7 +1220,7 @@ void tp_init()
1220
1220
1221
1221
#ifdef AMBIENT_MINTEMP
1222
1222
while (analog2tempAmbient (ambient_minttemp_raw) < AMBIENT_MINTEMP) {
1223
- #if HEATER_AMBIENT_RAW_LO_TEMP < HEATER_AMBIENT_RAW_HI_TEMP
1223
+ #if AMBIENT_RAW_LO_TEMP < AMBIENT_RAW_HI_TEMP
1224
1224
ambient_minttemp_raw += OVERSAMPLENR;
1225
1225
#else
1226
1226
ambient_minttemp_raw -= OVERSAMPLENR;
@@ -1229,7 +1229,7 @@ void tp_init()
1229
1229
#endif // AMBIENT_MINTEMP
1230
1230
#ifdef AMBIENT_MAXTEMP
1231
1231
while (analog2tempAmbient (ambient_maxttemp_raw) > AMBIENT_MAXTEMP) {
1232
- #if HEATER_AMBIENT_RAW_LO_TEMP < HEATER_AMBIENT_RAW_HI_TEMP
1232
+ #if AMBIENT_RAW_LO_TEMP < AMBIENT_RAW_HI_TEMP
1233
1233
ambient_maxttemp_raw -= OVERSAMPLENR;
1234
1234
#else
1235
1235
ambient_maxttemp_raw += OVERSAMPLENR;
You can’t perform that action at this time.
0 commit comments