yincheng.zhong
2024-02-25 45ac28791bbfd334a2d5c393e4c4d7a5bfa3b586
Src/application/dw_mbx_anc.c
@@ -407,7 +407,7 @@
    //HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12, GPIO_PIN_RESET);
    
    start_count=HAL_LPTIM_ReadCounter(&hlptim1);
    poll_timeout=tag_num_tosend*SLOT_SCALE+10; //单位0.1ms
    poll_timeout=tag_num_tosend*SLOT_SCALE+20; //单位0.1ms
   end_count=start_count+(poll_timeout<<2);
   if(end_count>=32768)
   {end_count-=32768;}