mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Massive copy&paste typo of mine in the 32-bit byte swapping function....
This commit is contained in:
parent
a0b6b8187c
commit
41e8b8752e
@ -80,7 +80,7 @@
|
||||
return __builtin_bswap16(u16);
|
||||
}
|
||||
|
||||
static inline uint16_t tu_bswap32(uint16_t u32)
|
||||
static inline uint32_t tu_bswap32(uint32_t u32)
|
||||
{
|
||||
return __builtin_bswap32(u32);
|
||||
}
|
||||
@ -108,7 +108,7 @@
|
||||
return __builtin_bswap16(u16);
|
||||
}
|
||||
|
||||
static inline uint16_t tu_bswap32(uint16_t u32)
|
||||
static inline uint32_t tu_bswap32(uint32_t u32)
|
||||
{
|
||||
return __builtin_bswap32(u32);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user