mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-01 07:37:52 +00:00
Merge branch 'bugfix/dirty_timer_handle_after_deinit' into 'nimble-1.3.0-idf'
clear timer handle for struct ble_npl_callout during deinitializtion See merge request espressif/esp-nimble!121
This commit is contained in:
@@ -381,6 +381,7 @@ npl_freertos_callout_deinit(struct ble_npl_callout *co)
|
||||
xTimerDelete(co->handle, portMAX_DELAY);
|
||||
}
|
||||
#endif
|
||||
memset(co, 0, sizeof(struct ble_npl_callout));
|
||||
}
|
||||
|
||||
ble_npl_error_t
|
||||
|
||||
Reference in New Issue
Block a user