Lots done in move to typeless

This commit is contained in:
2022-08-14 12:26:34 +02:00
parent b158544f1a
commit 459e2e2aeb
52 changed files with 1128 additions and 883 deletions

View File

@ -97,7 +97,7 @@ cw_send_msg( struct cw_Conn * conn, uint8_t *msg)
{
uint8_t buf[MAX_MTU];
int fragoffset,hlen,mtu;
int packetlen, msglen;
int msglen;
mtu = conn->mtu;
@ -121,7 +121,7 @@ cw_send_msg( struct cw_Conn * conn, uint8_t *msg)
hlen = cw_get_hdr_hlen(buf)*4;
packetlen = hlen + cw_get_msg_elems_len(msg) + 8;
//packetlen = hlen + cw_get_msg_elems_len(msg) + 8;
msglen = cw_get_msg_elems_len(msg) + 8;