소스 검색

Fix crash in manage_response

The watchdog needs to be kicked in the for(;;) loop.
This is usually done by calling manage_heater before
manage_inactivity.
Guðni Már Gilbert 3 년 전
부모
커밋
d6044387d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Firmware/mmu2.cpp

+ 1 - 1
Firmware/mmu2.cpp

@@ -511,7 +511,7 @@ void MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) {
         // - still running -> wait normally in idle()
         // - failed -> then do the safety moves on the printer like before
         // - finished ok -> proceed with reading other commands
-        
+        manage_heater();
         // @@TODO this needs verification - we need something which matches Marlin2's idle()
         manage_inactivity(true); // calls LogicStep() and remembers its return status