Testing, nothing is working...
FossilOrigin-Name: 57c915fbdb3a98a422b740117a7ff11a64399c48e74df2b50863b760591c0049
This commit is contained in:
parent
326571d043
commit
5005aad7ad
@ -27,9 +27,10 @@ void lwmsg_init(struct lwmsg * lwmsg, uint8_t * buffer, uint8_t * macaddress,int
|
||||
{
|
||||
lwmsg->buffer=buffer;
|
||||
memcpy (lwmsg->buffer,macaddress,6);
|
||||
lwmsg->trnsprthdr=buffer+6;
|
||||
lwmsg->trnsprthdr=buffer+0; //+6;
|
||||
LWTH_SET_VERSION(lwmsg->trnsprthdr,LW_VERSION);
|
||||
LWTH_SET_C_FLAG(lwmsg->trnsprthdr,1);
|
||||
lwmsg->ctrlhdr=buffer+14;
|
||||
|
||||
lwmsg->msgelems=lwmsg->trnsprthdr+6;
|
||||
lwmsg->pos=0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user