usb: usb_dc_stm32: Add missing function
Add missing API functions which will be tested with harness tests. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
f350c275e1
commit
f6784ed1d7
1 changed files with 11 additions and 0 deletions
|
@ -854,6 +854,17 @@ int usb_dc_ep_read(const u8_t ep, u8_t *const data, const u32_t max_data_len,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int usb_dc_ep_halt(const u8_t ep)
|
||||
{
|
||||
return usb_dc_ep_set_stall(ep);
|
||||
}
|
||||
|
||||
int usb_dc_ep_flush(const u8_t ep)
|
||||
{
|
||||
LOG_ERR("Not implemented");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int usb_dc_ep_mps(const u8_t ep)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue