mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-08 00:40:11 +00:00
hid_device/example: fix compile
This commit is contained in:
parent
c3bb96d0dc
commit
abc918551f
@ -405,7 +405,7 @@ int btstack_main(int argc, const char * argv[]){
|
||||
sdp_register_service(device_id_sdp_service_buffer);
|
||||
|
||||
// HID Device
|
||||
hid_device_init(hid_boot_device);
|
||||
hid_device_init(hid_boot_device, 0);
|
||||
|
||||
// register for HCI events
|
||||
hci_event_callback_registration.callback = &packet_handler;
|
||||
|
@ -301,7 +301,7 @@ int btstack_main(int argc, const char * argv[]){
|
||||
sdp_register_service(hid_service_buffer);
|
||||
|
||||
// HID Device
|
||||
hid_device_init(hid_boot_device);
|
||||
hid_device_init(hid_boot_device, 0);
|
||||
|
||||
// register for HCI events
|
||||
hci_event_callback_registration.callback = &packet_handler;
|
||||
|
Loading…
x
Reference in New Issue
Block a user