mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
make HAVE_WICED as subdefine from EMBEDDED
This commit is contained in:
parent
b303a37ec9
commit
54780ef11e
@ -156,10 +156,16 @@ void run_loop_init(RUN_LOOP_TYPE type){
|
||||
#endif
|
||||
switch (type) {
|
||||
#ifdef EMBEDDED
|
||||
#ifdef HAVE_WICED
|
||||
case RUN_LOOP_WICED:
|
||||
the_run_loop = &run_loop_wiced;
|
||||
break;
|
||||
#else
|
||||
case RUN_LOOP_EMBEDDED:
|
||||
the_run_loop = (run_loop_t*) &run_loop_embedded;
|
||||
the_run_loop = &run_loop_embedded;
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
#ifdef USE_POSIX_RUN_LOOP
|
||||
case RUN_LOOP_POSIX:
|
||||
the_run_loop = &run_loop_posix;
|
||||
@ -171,11 +177,6 @@ void run_loop_init(RUN_LOOP_TYPE type){
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
#ifdef HAVE_WICED
|
||||
case RUN_LOOP_WICED:
|
||||
the_run_loop = &run_loop_wiced;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifndef EMBEDDED
|
||||
log_error("ERROR: invalid run loop type %u selected!", type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user