New resp and req buffers.
FossilOrigin-Name: 04130bcd6a45f90b246c4876162d68cfa32642d353cf2e4b5434fee641c3763a
This commit is contained in:
parent
324d30770e
commit
da873e7408
@ -5,8 +5,8 @@
|
|||||||
int cwsend_echo_response(struct conn * conn,int seqnum,struct radioinfo * radioinfo) //,struct wtpinfo * wtpinfo)
|
int cwsend_echo_response(struct conn * conn,int seqnum,struct radioinfo * radioinfo) //,struct wtpinfo * wtpinfo)
|
||||||
{
|
{
|
||||||
//uint8_t buffer[CWMSG_MAX_SIZE];
|
//uint8_t buffer[CWMSG_MAX_SIZE];
|
||||||
struct cwmsg * cwmsg = &conn->swm;
|
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||||
cwmsg_init(cwmsg,conn->buffer,CWMSG_ECHO_RESPONSE,seqnum,radioinfo);
|
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_ECHO_RESPONSE,seqnum,radioinfo);
|
||||||
|
|
||||||
conn_send_response(conn,cwmsg,seqnum);
|
conn_send_response(conn,cwmsg,seqnum);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user