summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c
index 5543e9efb..ccc50bbf2 100644
--- a/examples/host/cdc_msc_hid/src/main.c
+++ b/examples/host/cdc_msc_hid/src/main.c
@@ -154,7 +154,7 @@ static inline void process_kbd_report(hid_keyboard_report_t const *p_new_report)
prev_report = *p_new_report;
}
-void tuh_hid_mounted_cb(uint8_t dev_addr)
+void tuh_hid_mounted_cb(uint8_t dev_addr, uint8_t instance)
{
// application set-up
printf("A Keyboard device (address %d) is mounted\r\n", dev_addr);
@@ -162,7 +162,7 @@ void tuh_hid_mounted_cb(uint8_t dev_addr)
tuh_hid_keyboard_get_report(dev_addr, &usb_keyboard_report);
}
-void tuh_hid_unmounted_cb(uint8_t dev_addr)
+void tuh_hid_unmounted_cb(uint8_t dev_addr, uint8_t instance)
{
// application tear-down
printf("A Keyboard device (address %d) is unmounted\r\n", dev_addr);