From 441127df95b947f0a48f6973270e3954621c0d38 Mon Sep 17 00:00:00 2001 From: yuanQie Date: Mon, 26 May 2025 22:23:49 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=F0=9F=90=9B=20=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E5=8E=9F=E5=AD=90=E8=AF=BB=E5=8F=96=E6=93=8D=E4=BD=9C=EF=BC=8C?= =?UTF-8?q?=E5=B1=8F=E8=94=BDslot=5Find=5Fflag=3D=3D1=E7=9A=84=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/case52/src/testcase52.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/case52/src/testcase52.c b/test/case52/src/testcase52.c index e4641c8..9d2b7f3 100755 --- a/test/case52/src/testcase52.c +++ b/test/case52/src/testcase52.c @@ -209,12 +209,12 @@ void *handleUdpTransmission(void *arg) wr_cunt = (wr_cunt + 1) % 20; /************************************************************************************** */ // 更新生产者计数 - // uint8_t w_idx = __atomic_load_n( - // (volatile uint8_t *)(map_base_rxf_case52 + 0), - // __ATOMIC_ACQUIRE - // ); + uint8_t w_idx = __atomic_load_n( + (volatile uint8_t *)(map_base_rxf_case52 + 0), + __ATOMIC_ACQUIRE + ); printf("[test 03]\n"); - uint8_t w_idx = *((volatile uint8_t *)map_base_rxf_case52); + // uint8_t w_idx = *((volatile uint8_t *)map_base_rxf_case52); /************************************************************************************** */ // 尝试读取 uint8_t block_n = 0; @@ -298,7 +298,7 @@ uint32_t rx_callback_data(const char* buf,uint32_t payloadSize) uint32_t tick_from_tx_ctrl = *(uint32_t *)(buf+4); - printf("[rx_callback_data]:slot_ind_flag == 1 \n"); + // printf("[rx_callback_data]:slot_ind_flag == 1 \n"); slot_ind_flag = 1; gu32_value = value; gu32_tick_receive_ctrl = stc_cnt;