RT-Thread-packages / at_device

AT component porting or samples for different devices
Apache License 2.0
214 stars 181 forks source link

sim800c 里面的 at_socket_sim800.c文件中urc_recv_func函数为什么最后不用释放rt_free(recv_buf); #131

Closed jinbangju closed 4 years ago

jinbangju commented 4 years ago

图片

Lawlieta commented 4 years ago

接收的数据会先被挂载到数据接收列表中,然后 recvfrom 接收数据完成后会释放,所以这里不加 rt_free(recv_buf)