mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 02:37:41 +00:00
btstack_run_loop_embedded: remove duplicate instance variable
This commit is contained in:
parent
1a4496387c
commit
4f7fcd5439
@ -78,8 +78,6 @@
|
|||||||
#define TIMER_SUPPORT
|
#define TIMER_SUPPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const btstack_run_loop_t btstack_run_loop_embedded;
|
|
||||||
|
|
||||||
// the run loop
|
// the run loop
|
||||||
static btstack_linked_list_t data_sources;
|
static btstack_linked_list_t data_sources;
|
||||||
|
|
||||||
@ -279,9 +277,6 @@ static void btstack_run_loop_embedded_init(void){
|
|||||||
/**
|
/**
|
||||||
* Provide btstack_run_loop_embedded instance
|
* Provide btstack_run_loop_embedded instance
|
||||||
*/
|
*/
|
||||||
const btstack_run_loop_t * btstack_run_loop_embedded_get_instance(void){
|
|
||||||
return &btstack_run_loop_embedded;
|
|
||||||
}
|
|
||||||
|
|
||||||
static const btstack_run_loop_t btstack_run_loop_embedded = {
|
static const btstack_run_loop_t btstack_run_loop_embedded = {
|
||||||
&btstack_run_loop_embedded_init,
|
&btstack_run_loop_embedded_init,
|
||||||
@ -296,3 +291,8 @@ static const btstack_run_loop_t btstack_run_loop_embedded = {
|
|||||||
&btstack_run_loop_embedded_dump_timer,
|
&btstack_run_loop_embedded_dump_timer,
|
||||||
&btstack_run_loop_embedded_get_time_ms,
|
&btstack_run_loop_embedded_get_time_ms,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const btstack_run_loop_t * btstack_run_loop_embedded_get_instance(void){
|
||||||
|
return &btstack_run_loop_embedded;
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user