Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs.
This commit is contained in:
parent
da007db18d
commit
4904b10ef6
8 changed files with 182 additions and 176 deletions
|
|
@ -106,7 +106,6 @@
|
|||
*/
|
||||
static inline void USB_OTG_Dev_InitiateSRP(uint8_t SRPTypeMask);
|
||||
#else
|
||||
|
||||
#define USB_OTG_Device_RequestHNP() MACROS{ OTGCON |= (1 << HNPREQ); }MACROE
|
||||
|
||||
#define USB_OTG_Device_CancelHNPRequest() MACROS{ OTGCON &= ~(1 << HNPREQ); }MACROE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue