Explorar o código

Actually disable the temperature manager in TempMgrGuard

Yuri D'Elia %!s(int64=3) %!d(string=hai) anos
pai
achega
14622bc577
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Firmware/temperature.cpp

+ 1 - 0
Firmware/temperature.cpp

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