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:
Dean Camera 2011-07-12 05:18:10 +00:00
parent 7207b05695
commit 04287b76c5
2 changed files with 21 additions and 17 deletions

View file

@ -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,