Actually disable the temperature manager in TempMgrGuard

This commit is contained in:
Yuri D'Elia 2022-06-26 17:06:40 +02:00
parent 8620059067
commit 14622bc577

View File

@ -1853,6 +1853,7 @@ public:
TempMgrGuard() {
ATOMIC_BLOCK(ATOMIC_RESTORESTATE) {
temp_mgr_state = TEMP_MGR_INTERRUPT_STATE();
DISABLE_TEMP_MGR_INTERRUPT();
}
}