generated from admin/template
4 lines
108 B
C
4 lines
108 B
C
unsigned short swap_bytes(unsigned short num) {
|
|
return ((num & 0x00FF) << 8) | ((num & 0xFF00) >> 8);
|
|
}
|