WXK
2023-02-28 e9caeaabfbe536180cfd5a40e3a8521b7bd11cf5
Src/application/dw_app.c
@@ -71,7 +71,7 @@
#define FINAL_MSG_FINAL_TX_TS_IDX 18
#define FINAL_MSG_TS_LEN 4
static dwt_config_t config = {
   2,               /* Channel number. */
   5,               /* Channel number. */
   DWT_PRF_64M,     /* Pulse repetition frequency. */
   DWT_PLEN_128,    /* Preamble length. */
   DWT_PAC8,        /* Preamble acquisition chunk size. Used in RX only. */
@@ -613,7 +613,14 @@
                {
               
               //     motor_keeptime = rec_remotepara[3];
                }else{
                }else if(pack_index == CNT_UPDATE)
                        {
                              if(rec_remotepara[3]==2)
                              {
                                     EnterUWBUpdateMode();
                              }
                        }
                           else{
                    if(pack_index<200)
                    {
                        memcpy((uint8_t*)&g_com_map + pack_index, &rec_remotepara[3], pack_length);