From abc918551f94f729d5562d680ca8582a99a11e03 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Mon, 8 Oct 2018 17:21:38 +0200 Subject: [PATCH] hid_device/example: fix compile --- example/hid_keyboard_demo.c | 2 +- example/hid_mouse_demo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/hid_keyboard_demo.c b/example/hid_keyboard_demo.c index 8b4f9ff6a..ee24ffe34 100644 --- a/example/hid_keyboard_demo.c +++ b/example/hid_keyboard_demo.c @@ -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; diff --git a/example/hid_mouse_demo.c b/example/hid_mouse_demo.c index aba7707a7..2eb932da0 100644 --- a/example/hid_mouse_demo.c +++ b/example/hid_mouse_demo.c @@ -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;