More definitions...
FossilOrigin-Name: 956c616413a9e4c6e6071d0f73f5d18905d2f22a4c63b6341b99aa1f6101870b
This commit is contained in:
parent
2e3d49a8a5
commit
326571d043
@ -38,7 +38,7 @@
|
||||
#define LWTH_GET_LENGTH(th) (ntohl(*((uint32_t*)(th)))&0xffff)
|
||||
|
||||
#define LWTH_SET_VERSION(th,v) (th[0] = (th[0]&0x3f) | (v<<6))
|
||||
#define LWTH_SET_C_FLAG(th,v) (th[0] = (th[0]&0xfd) | (v<<1))
|
||||
#define LWTH_SET_C_FLAG(th,v) (th[0] = (th[0]&0xfB) | (v<<2))
|
||||
|
||||
|
||||
#define LWMSG_GET_TYPE(m) (m[0])
|
||||
|
Loading…
Reference in New Issue
Block a user