mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 21:14:37 +00:00 
			
		
		
		
	Blufi [Nimble] Add fix to crash while running blufi on ESP32C3
A race condition is occuring while creating task on ESP32C3. Task is getting created, but the function returns with a delay. Since task was created, events start getting posted, but existing application initializes certain threads / callbacks after stack initialization. The same application works in different ways for bluedroid and nimble. Hence modified the order during initialization accordingly.
This commit is contained in:
		| @@ -13,3 +13,4 @@ int blufi_security_init(void); | ||||
| void blufi_security_deinit(void); | ||||
| int esp_blufi_gap_register_callback(void); | ||||
| esp_err_t esp_blufi_host_init(void); | ||||
| esp_err_t esp_blufi_host_and_cb_init(esp_blufi_callbacks_t *callbacks); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rahul Tank
					Rahul Tank