清除一些无用数据

This commit is contained in:
OPTOC
2025-10-28 15:53:16 +08:00
parent f798c1e230
commit d43b1aca73
2 changed files with 1 additions and 17 deletions

View File

@@ -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);
}