Add more missing function attributes to the TWI peripheral driver.
Fix incorrect standard request name in the host standard request driver.
This commit is contained in:
parent
7207b05695
commit
04287b76c5
2 changed files with 21 additions and 17 deletions
|
@ -243,7 +243,7 @@ uint8_t USB_Host_GetDeviceStatus(uint8_t* const FeatureStatus)
|
|||
USB_ControlRequest = (USB_Request_Header_t)
|
||||
{
|
||||
.bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_DEVICE),
|
||||
.bRequest = REQ_GetFeature,
|
||||
.bRequest = REQ_GetStatus,
|
||||
.wValue = 0,
|
||||
.wIndex = 0,
|
||||
.wLength = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue