WXK
2025-02-27 07d3633e5d6905272d19da645c767b7267f27a8f
Src/application/dw_app.c
@@ -1241,10 +1241,10 @@
      IdleTask();
      
   };
      if(status_reg==0xffffffff)
               {
                  NVIC_SystemReset();
               }
//      if(status_reg==0xffffffff)
//               {
//                  NVIC_SystemReset();
//               }
               if (status_reg & SYS_STATUS_RXFCG)//如果成功接收
                  {
                     dwt_write32bitreg(SYS_STATUS_ID, SYS_STATUS_RXFCG | SYS_STATUS_TXFRS);//清楚寄存器标志位            
@@ -1293,6 +1293,7 @@
}
u32 id,error_times=0;
extern float Height;
extern IWDG_HandleTypeDef hiwdg;
void Tag_App(void)//发送模式(TAG标签)
{
   
@@ -1314,6 +1315,7 @@
//    }
    Dw1000_Init();
    error_times = 0;
    HAL_IWDG_Refresh(&hiwdg);
   switch(tag_state)
   {
      case REGPOLL: