yincheng.zhong
2022-11-07 6e39707d1deda59da8b133fb73b1632d75fef03d
Src/application/dw_app.c
@@ -78,7 +78,7 @@
   NEARPOLL,
}tag_state=NEARPOLL;
static dwt_config_t config = {
   5,               /* Channel number. */
   2,               /* Channel number. */
   DWT_PRF_64M,     /* Pulse repetition frequency. */
   DWT_PLEN_128,    /* Preamble length. */
   DWT_PAC8,        /* Preamble acquisition chunk size. Used in RX only. */
@@ -502,6 +502,7 @@
            nearbase_num=recbase_num;
      //   tyncpoll_time=0;
         next_nearbase_num=0;
            j = 0;
         for(i=0;i<last_nearbase_num+get_newbase;i++)
         {
            if(exsistbase_list[i]>0)
@@ -646,6 +647,6 @@
         //GPIO_WriteBit(EU_TX_GPIO, EU_RX_PIN, Bit_RESET);
         break;
   }
    bat_percent=Get_VDDVlotage();
   dwt_entersleep();
    bat_percent=Get_VDDVlotage();
}