(btstack_hid.c) Add Cocoa ifdef

This commit is contained in:
twinaphex 2015-11-16 06:52:26 +01:00
parent e88fff9985
commit 170b4bbbe2

View File

@ -198,7 +198,9 @@ bool btstack_try_load(void)
}
}
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
run_loop_init_ptr(RUN_LOOP_COCOA);
#endif
bt_register_packet_handler_ptr(btpad_packet_handler);
btstack_loaded = true;