test: 🔒 测试
This commit is contained in:
parent
cd69ac8d94
commit
d09adfc9cd
@ -189,7 +189,6 @@ void *handleUdpTransmission(void *arg)
|
|||||||
printf("[while(1)]:/*************************************/\n");
|
printf("[while(1)]:/*************************************/\n");
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
printf("[slot]:%u \n", slot_ind_flag);
|
|
||||||
if (1 == slot_ind_flag)
|
if (1 == slot_ind_flag)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -216,7 +215,7 @@ void *handleUdpTransmission(void *arg)
|
|||||||
uint8_t block_n = 0;
|
uint8_t block_n = 0;
|
||||||
if (w_idx == r_idx){
|
if (w_idx == r_idx){
|
||||||
printf("[while(1)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx);
|
printf("[while(1)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx);
|
||||||
printf("[while(1)]: 空\n");
|
printf("[while(1)]: pass\n");
|
||||||
} else {
|
} else {
|
||||||
if (r_idx < w_idx) {
|
if (r_idx < w_idx) {
|
||||||
printf("[while(1)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx);
|
printf("[while(1)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user