Ver Fonte

Fix build errors

kkitayam há 4 anos atrás
pai
commit
24614de419
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      examples/host/hid_controller/src/hid_app.c

+ 2 - 0
examples/host/hid_controller/src/hid_app.c

@@ -138,6 +138,8 @@ void hid_app_task(void)
 // therefore report_desc = NULL, desc_len = 0
 // therefore report_desc = NULL, desc_len = 0
 void tuh_hid_mount_cb(uint8_t dev_addr, uint8_t instance, uint8_t const* desc_report, uint16_t desc_len)
 void tuh_hid_mount_cb(uint8_t dev_addr, uint8_t instance, uint8_t const* desc_report, uint16_t desc_len)
 {
 {
+  (void)desc_report;
+  (void)desc_len;
   uint16_t vid, pid;
   uint16_t vid, pid;
   tuh_vid_pid_get(dev_addr, &vid, &pid);
   tuh_vid_pid_get(dev_addr, &vid, &pid);