Fixed wrong msg_id

FossilOrigin-Name: 3fbd351076485e1b72aa9a23310307ec97f75beca4389e2cdec86fe92d0b475b
This commit is contained in:
7u83@mail.ru 2016-03-19 08:17:55 +00:00
parent 3dfb5203ce
commit 8c6659fde0
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ static inline void cw_set_hdr_rid(uint8_t * th, int rid)
* @param msg_id id to check
* @return 1 if it msg id is a request msg id, otherwise 0
*/
#define cw_is_request(msg) (msg_id & 1)
#define cw_is_request(msg_id) (msg_id & 1)
/**
* Check if message id is from a response msg