mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +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;
|
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
|
#ifdef USE_POSIX_RUN_LOOP
|
||||||
extern run_loop_t run_loop_posix;
|
extern run_loop_t run_loop_posix;
|
||||||
@ -123,7 +123,7 @@ void run_loop_init(RUN_LOOP_TYPE type){
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
#ifdef EMBEDDED
|
#ifdef EMBEDDED
|
||||||
case RUN_LOOP_EMBEDDED:
|
case RUN_LOOP_EMBEDDED:
|
||||||
the_run_loop = &run_loop_embedded;
|
the_run_loop = (run_loop_t*) &run_loop_embedded;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_POSIX_RUN_LOOP
|
#ifdef USE_POSIX_RUN_LOOP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user