This commit is contained in:
hathach
2019-11-27 12:34:30 +07:00
parent 8a1b6327ba
commit fe1eadf177
5 changed files with 36 additions and 42 deletions

View File

@@ -322,10 +322,9 @@ bool midid_control_complete(uint8_t rhport, tusb_control_request_t const * p_req
bool midid_control_request(uint8_t rhport, tusb_control_request_t const * p_request)
{
(void) rhport;
(void) p_request;
//------------- Class Specific Request -------------//
if (p_request->bmRequestType_bit.type != TUSB_REQ_TYPE_CLASS) return false;
// driver doesn't support any request yet
return false;
}