mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
[example] 格式化整理
This commit is contained in:
@@ -26,9 +26,9 @@ void tcp_senddata(const char *url, int port, int length)
|
||||
{
|
||||
/* 申请内存失败 */
|
||||
rt_kprintf("No memory\n");
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/* 构造发送数据 */
|
||||
for (index = 0; index < length; index ++)
|
||||
buffer_ptr[index] = index & 0xff;
|
||||
|
||||
Reference in New Issue
Block a user