(btstack_hid.c) Add RUN_LOOP_POSIX else conditional
This commit is contained in:
parent
170b4bbbe2
commit
de9be22071
|
@ -200,6 +200,8 @@ bool btstack_try_load(void)
|
||||||
|
|
||||||
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
|
||||||
run_loop_init_ptr(RUN_LOOP_COCOA);
|
run_loop_init_ptr(RUN_LOOP_COCOA);
|
||||||
|
#else
|
||||||
|
run_loop_init_ptr(RUN_LOOP_POSIX);
|
||||||
#endif
|
#endif
|
||||||
bt_register_packet_handler_ptr(btpad_packet_handler);
|
bt_register_packet_handler_ptr(btpad_packet_handler);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue