change device driver init to open (when configured)
fix HID_REQUEST_CONTROL_SET_REPORT handle
This commit is contained in:
@@ -151,7 +151,7 @@ app_descriptor_configuration_t app_tusb_desc_configuration =
|
||||
.bLength = sizeof(tusb_descriptor_configuration_t),
|
||||
.bDescriptorType = TUSB_DESC_TYPE_CONFIGURATION,
|
||||
|
||||
.wTotalLength = sizeof(app_descriptor_configuration_t) - 1, // exclude termination
|
||||
.wTotalLength = sizeof(app_descriptor_configuration_t),
|
||||
.bNumInterfaces = TOTAL_INTEFACES,
|
||||
|
||||
.bConfigurationValue = 1,
|
||||
|
@@ -97,7 +97,6 @@ typedef ATTR_PACKED_STRUCT(struct)
|
||||
tusb_descriptor_endpoint_t msc_endpoint_out;
|
||||
#endif
|
||||
|
||||
uint8_t null_termination; // NXP rom driver requires this to work
|
||||
} app_descriptor_configuration_t;
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
Reference in New Issue
Block a user