diff options
| author | Nathan Conrad <[email protected]> | 2019-09-15 15:20:01 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2019-09-15 15:20:01 -0400 |
| commit | 9593463367cca64acc7732013efdc634e84c2a81 (patch) | |
| tree | 70da6a88f9f27717161bf5c208795068790dd6ac /src | |
| parent | bb7f581b6d046c1c358fab70f3640d0312527804 (diff) | |
Massive copy&paste typo of mine in the 32-bit byte swapping function....
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/tusb_compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index ca294c20f..df0326afd 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -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);
}
|
