summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-15 15:20:01 -0400
committerNathan Conrad <[email protected]>2019-09-17 13:29:40 -0400
commit41e8b8752e421ccb63a48eec316f353854abc8a0 (patch)
tree72b4326df1c86d56acb3934958f06014fb9c83bb /src
parenta0b6b8187c036b386f09188a9017301f730096b8 (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.h4
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);
}