mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-11 00:44:27 +00:00
fix warning
This commit is contained in:
parent
338d311437
commit
ce246c31a1
@ -47,7 +47,7 @@
|
||||
|
||||
static run_loop_t * the_run_loop = NULL;
|
||||
|
||||
extern run_loop_t run_loop_embedded;
|
||||
extern const run_loop_t run_loop_embedded;
|
||||
|
||||
#ifdef USE_POSIX_RUN_LOOP
|
||||
extern run_loop_t run_loop_posix;
|
||||
@ -123,7 +123,7 @@ void run_loop_init(RUN_LOOP_TYPE type){
|
||||
switch (type) {
|
||||
#ifdef EMBEDDED
|
||||
case RUN_LOOP_EMBEDDED:
|
||||
the_run_loop = &run_loop_embedded;
|
||||
the_run_loop = (run_loop_t*) &run_loop_embedded;
|
||||
break;
|
||||
#endif
|
||||
#ifdef USE_POSIX_RUN_LOOP
|
||||
|
Loading…
x
Reference in New Issue
Block a user