summaryrefslogtreecommitdiff
path: root/src/headers/uint16-bswap
blob: 2bf5c8ec8f1c98654a1f0f2c0c9008126ae707fd (plain)
1
2
#define UINT16_BSWAP(a) (((a) & 0x00ffu) << 8 | ((a) & 0xff00u) >> 8)