mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-28 06:39:49 +00:00
RUN_LOOP_EMBEDDED is only available if EMBEDDED is defined
This commit is contained in:
parent
ccaca820f5
commit
65b87ac8c3
@ -121,9 +121,11 @@ void run_loop_init(RUN_LOOP_TYPE type){
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
#ifdef EMBEDDED
|
||||||
case RUN_LOOP_EMBEDDED:
|
case RUN_LOOP_EMBEDDED:
|
||||||
the_run_loop = &run_loop_embedded;
|
the_run_loop = &run_loop_embedded;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
#ifdef USE_POSIX_RUN_LOOP
|
#ifdef USE_POSIX_RUN_LOOP
|
||||||
case RUN_LOOP_POSIX:
|
case RUN_LOOP_POSIX:
|
||||||
the_run_loop = &run_loop_posix;
|
the_run_loop = &run_loop_posix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user