清除一些无用数据
This commit is contained in:
@@ -182,22 +182,6 @@ void app_thread(void* arg)
|
||||
break;
|
||||
}
|
||||
resend_recv_data(&sertrf.resend_device, 0);
|
||||
// static uint8_t count = 0;
|
||||
// count++;
|
||||
// if(count > 100)
|
||||
// {
|
||||
// // resend_send_cmd(&sertrf.resend_device, RESEND_CMD_ACK, 0);
|
||||
// resend_send_data(&sertrf.resend_device, RESEND_CMD_GET_PARAM, NULL, 0, 0);
|
||||
// // count = 0;
|
||||
// }
|
||||
// uint32_t app_size = app_device_get_rx_length(&sertrf.device);
|
||||
|
||||
// if(app_size > 0)
|
||||
// {
|
||||
// uint8_t data[app_size];
|
||||
// app_device_read(&sertrf.device, data, app_size,0);
|
||||
// printf("data:%d:%s\n", app_size,data);
|
||||
// }
|
||||
os_thread_sleep(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user