فهرست منبع

fix missing report in tuh_hid_set_report()

hathach 5 سال پیش
والد
کامیت
f13a3c04f7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/class/hid/hid_host.c

+ 1 - 1
src/class/hid/hid_host.c

@@ -190,7 +190,7 @@ bool tuh_hid_set_report(uint8_t dev_addr, uint8_t instance, uint8_t report_id, u
     .wLength  = len
   };
 
-  TU_ASSERT( tuh_control_xfer(dev_addr, &request, NULL, set_report_complete) );
+  TU_ASSERT( tuh_control_xfer(dev_addr, &request, report, set_report_complete) );
   return true;
 }