zhyinch
2022-05-12 97ae3565c364be9df5c9d15257461b981f077126
源码/核心板/Src/application/dw_app.c
@@ -7,9 +7,9 @@
   NEARPOLL,
}tag_state=GETNEARMSG;
static dwt_config_t config = {
   2,               /* Channel number. */
   3,               /* Channel number. */
   DWT_PRF_64M,     /* Pulse repetition frequency. */
   DWT_PLEN_64,    /* Preamble length. */
   DWT_PLEN_128,    /* Preamble length. */
   DWT_PAC8,        /* Preamble acquisition chunk size. Used in RX only. */
   9,               /* TX preamble code. Used in TX only. */
   9,               /* RX preamble code. Used in RX only. */
@@ -732,7 +732,7 @@
      {
         uint16_t checksum;
            case DISCOVERPOLL:
                if (anchor_type == rx_buffer[ANCHOR_ID_IDX])
                if (anchor_type == rx_buffer[ANCHOR_ID_IDX]&&g_com_map[NEARSWITCH_DISTANCE_INDEX] != 0)
                {
                taglist_pos=CmpTagInList(tag_id_recv);
            if(taglist_pos==taglist_num)