Skip to content
Snippets Groups Projects
Commit 611b61d0 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] Some renames

parent 56da5af1
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ size_t dap_stream_ch_chain_net_pkt_write(dap_stream_ch_t *a_ch, uint8_t a_type, ...@@ -29,7 +29,7 @@ size_t dap_stream_ch_chain_net_pkt_write(dap_stream_ch_t *a_ch, uint8_t a_type,
char *l_buf = DAP_NEW_SIZE(char, l_buf_size); char *l_buf = DAP_NEW_SIZE(char, l_buf_size);
memcpy(l_buf, &l_hdr, sizeof(l_hdr)); memcpy(l_buf, &l_hdr, sizeof(l_hdr));
memcpy(l_buf + sizeof(l_hdr), a_data, a_data_size); memcpy(l_buf + sizeof(l_hdr), a_data, a_data_size);
int l_ret = dap_stream_ch_pkt_write(a_ch, STREAM_CH_CHAIN_PKT_TYPE_REQUEST, l_buf, l_buf_size); int l_ret = dap_stream_ch_pkt_write(a_ch, STREAM_CH_CHAIN_PKT_TYPE_SYNC_CHAINS_REQUEST, l_buf, l_buf_size);
DAP_DELETE(l_buf); DAP_DELETE(l_buf);
return l_ret; return l_ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment