yincheng.zhong
2024-03-06 cbe3b0a4c27e0d28628e4c57a7835526591c6201
Src/application/dw_app.c
@@ -250,7 +250,7 @@
typedef enum{   Next_Poll_RANGE,
                Next_Poll_LORASYNC,
}nextpoll_enum;
nextpoll_enum next_poll_state;
nextpoll_enum next_poll_state = Next_Poll_RANGE;
extern uint8_t sync_lost_count;
void Tag_App(void)//发送模式(TAG标签)
{     
@@ -263,11 +263,10 @@
    memcpy(&lora_start_poll_buff[ANC_ID_IDX],&g_com_map[DEV_ID],2);
    Radio.Send(lora_start_poll_buff, 4);
    UWB_Wkup();
    UWB_Wkup();
    delay_us(700);
    MBXANCPoll();
   dwt_entersleep();
    bat_percent=Get_VDDVlotage();
    next_poll_state = Next_Poll_LORASYNC;
  }else{
     LoraSyncRecPoll();