Moved USB Host state machine code out from USBTask.c and into Host.c, where it more properly belongs.

This commit is contained in:
Dean Camera 2009-05-13 14:13:57 +00:00
parent da007db18d
commit 4904b10ef6
8 changed files with 182 additions and 176 deletions

View file

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