瀏覽代碼

Actually disable the temperature manager in TempMgrGuard

Yuri D'Elia 3 年之前
父節點
當前提交
14622bc577
共有 1 個文件被更改,包括 1 次插入0 次删除
  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();
         }
     }