uac2: return on clear_feature.

This commit is contained in:
HiFiPhile 2024-04-23 21:36:05 +02:00 committed by hathach
parent 5f473d51cf
commit 13bde7af40
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -2015,7 +2015,10 @@ static bool audiod_control_request(uint8_t rhport, tusb_control_request_t const
case TUSB_REQ_SET_INTERFACE: case TUSB_REQ_SET_INTERFACE:
return audiod_set_interface(rhport, p_request); return audiod_set_interface(rhport, p_request);
// Unknown/Unsupported request case TUSB_REQ_CLEAR_FEATURE:
return true;
// Unknown/Unsupported request
default: TU_BREAKPOINT(); return false; default: TU_BREAKPOINT(); return false;
} }
} }