Added endian-correction to the CDC driver's Line Encoding control request handlers.
This commit is contained in:
1 parent
3bb8055459
commit
2ae41fb153
4 files changed
+15
-5
No files matched your search
@@ -210,7 +210,7 @@
|
||||
static inline void USB_Device_SetDeviceAddress(const uint8_t Address)
|
||||
{
|
||||
AVR32_USBB.UDCON.uadd = Address;
|
||||
AVR32_USBB.UDCON.adden = true;
|
||||
AVR32_USBB.UDCON.adden = (Address ? true : false);
|
||||
}
|
||||
|
||||
static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
|
||||
|
||||
Reference in new issue
Block a user