mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
btstack_run_loop: support de-init
This commit is contained in:
parent
172c13e70a
commit
3a2e210743
@ -183,3 +183,7 @@ void btstack_run_loop_init(const btstack_run_loop_t * run_loop){
|
||||
the_run_loop->init();
|
||||
}
|
||||
|
||||
void btstack_run_loop_deinit(void){
|
||||
the_run_loop = NULL;
|
||||
}
|
||||
|
||||
|
@ -220,6 +220,11 @@ int btstack_run_loop_remove_data_source(btstack_data_source_t * data_source);
|
||||
*/
|
||||
void btstack_run_loop_execute(void);
|
||||
|
||||
/**
|
||||
* @brief De-Init Run Loop
|
||||
*/
|
||||
void btstack_run_loop_deinit(void);
|
||||
|
||||
/* API_END */
|
||||
|
||||
#if defined __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user