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
|
@ -359,7 +359,7 @@
|
|||
|
||||
/* Inline Functions: */
|
||||
#if defined(USB_CAN_BE_BOTH)
|
||||
static inline uint8_t USB_GetUSBModeFromUID(void) ATTR_WARN_UNUSED_RESULT;
|
||||
static inline uint8_t USB_GetUSBModeFromUID(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;
|
||||
static inline uint8_t USB_GetUSBModeFromUID(void)
|
||||
{
|
||||
if (USBSTA & (1 << ID))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue