test: 🔒 测试
This commit is contained in:
parent
2f4c8d737c
commit
cd69ac8d94
@ -189,7 +189,7 @@ void *handleUdpTransmission(void *arg)
|
|||||||
printf("[while(1)]:/*************************************/\n");
|
printf("[while(1)]:/*************************************/\n");
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
// printf("[slot]:%u \n", slot_ind_flag);
|
printf("[slot]:%u \n", slot_ind_flag);
|
||||||
if (1 == slot_ind_flag)
|
if (1 == slot_ind_flag)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -206,7 +206,6 @@ void *handleUdpTransmission(void *arg)
|
|||||||
wr_cunt = (wr_cunt + 1) % 20;
|
wr_cunt = (wr_cunt + 1) % 20;
|
||||||
/************************************************************************************** */
|
/************************************************************************************** */
|
||||||
// 更新生产者计数
|
// 更新生产者计数
|
||||||
printf("[test 07]\n");
|
|
||||||
uint8_t w_idx = __atomic_load_n(
|
uint8_t w_idx = __atomic_load_n(
|
||||||
(volatile uint8_t *)(map_base_rxf_case52 + 0),
|
(volatile uint8_t *)(map_base_rxf_case52 + 0),
|
||||||
__ATOMIC_ACQUIRE
|
__ATOMIC_ACQUIRE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user