瀏覽代碼

Fix build errors

kkitayam 4 年之前
父節點
當前提交
24614de419
共有 1 個文件被更改,包括 2 次插入0 次删除
  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
 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;
   tuh_vid_pid_get(dev_addr, &vid, &pid);