[FL-2496] SubGhz: fix freezing of the interface when the transmission of the RAW signal is forcibly canceled (#1152)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									ec71a5c9d8
								
							
						
					
					
						commit
						cc99ce1f07
					
				| @ -167,7 +167,7 @@ static int32_t subghz_file_encoder_worker_thread(void* context) { | |||||||
|     } |     } | ||||||
|     //waiting for the end of the transfer
 |     //waiting for the end of the transfer
 | ||||||
|     FURI_LOG_I(TAG, "End read file"); |     FURI_LOG_I(TAG, "End read file"); | ||||||
|     while(!furi_hal_subghz_is_async_tx_complete()) { |     while(!furi_hal_subghz_is_async_tx_complete() && instance->worker_running) { | ||||||
|         osDelay(5); |         osDelay(5); | ||||||
|     } |     } | ||||||
|     FURI_LOG_I(TAG, "End transmission"); |     FURI_LOG_I(TAG, "End transmission"); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Skorpionm
						Skorpionm