Fix device mode for the U4 parts.
This commit is contained in:
parent
383d167125
commit
d06febbb59
2 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ void USB_ResetInterface(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if (defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
|
||||
#if (defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
|
||||
USB_OTGPAD_On();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue