소스 검색

Set the IN_HANDLER busy state while checking the filament

Yuri D'Elia 5 년 전
부모
커밋
bd80ee88a0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Firmware/fsensor.cpp

+ 1 - 0
Firmware/fsensor.cpp

@@ -579,6 +579,7 @@ void fsensor_update(void)
 		if (fsensor_enabled && fsensor_watch_runout && (fsensor_err_cnt > FSENSOR_ERR_MAX))
 		{
 			fsensor_stop_and_save_print();
+            KEEPALIVE_STATE(IN_HANDLER);
 
 			bool autoload_enabled_tmp = fsensor_autoload_enabled;
 			fsensor_autoload_enabled = false;