mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
uac2: return on clear_feature.
This commit is contained in:
parent
5f473d51cf
commit
13bde7af40
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user