Do not call watchdog reset from updateTemperaturesFromRawValues().
This commit is contained in:
parent
18dec75b56
commit
8fadbf1b44
1 changed files with 0 additions and 5 deletions
|
@ -1046,11 +1046,6 @@ static void updateTemperaturesFromRawValues()
|
||||||
redundant_temperature = analog2temp(redundant_temperature_raw, 1);
|
redundant_temperature = analog2temp(redundant_temperature_raw, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Reset the watchdog after we know we have a temperature measurement.
|
|
||||||
#ifdef WATCHDOG
|
|
||||||
wdt_reset();
|
|
||||||
#endif //WATCHDOG
|
|
||||||
|
|
||||||
CRITICAL_SECTION_START;
|
CRITICAL_SECTION_START;
|
||||||
temp_meas_ready = false;
|
temp_meas_ready = false;
|
||||||
CRITICAL_SECTION_END;
|
CRITICAL_SECTION_END;
|
||||||
|
|
Loading…
Reference in a new issue