Jelajahi Sumber

fix ci build

hathach 4 tahun lalu
induk
melakukan
c050612142
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      examples/device/hid_boot_interface/src/main.c

+ 2 - 0
examples/device/hid_boot_interface/src/main.c

@@ -207,6 +207,8 @@ uint16_t tud_hid_get_report_cb(uint8_t instance, uint8_t report_id, hid_report_t
 // received data on OUT endpoint ( Report ID = 0, Type = 0 )
 void tud_hid_set_report_cb(uint8_t instance, uint8_t report_id, hid_report_type_t report_type, uint8_t const* buffer, uint16_t bufsize)
 {
+  (void) report_id;
+
   // keyboard interface
   if (instance == ITF_NUM_KEYBOARD)
   {