1
zhyinch
2022-04-20 6ffdec7d475d885ecefbc2e9683ed6cedd6686f1
源码/核心板/Src/application/dw_app.c
@@ -512,7 +512,7 @@
            memcpy(&tx_nearresp_msg[ANC_SIGNALPOWER],&signalpower_list[taglist_pos],2);
         tx_nearresp_msg[MAINBASE_INDEX]=flag_syncbase;
         tx_nearresp_msg[MESSAGE_TYPE_IDX]=NEAR_RESPONSE;
         tx_nearresp_msg[MOTORSTATE_INDEX]=(remotesend_state<<4)|motorstate;
         //tx_nearresp_msg[MOTORSTATE_INDEX]=(remotesend_state<<4)|motorstate;
         waittagconfig_reponse=0;
            finalsend = 0;
         if(pwtag.remain_time>0)
@@ -871,7 +871,7 @@
         }
      
      }
      if(i==MAX_REGTAGNUM)
      if(i==MAX_REGTAGNUM&&g_com_map[NEARSWITCH_DISTANCE_INDEX] != 0)
      {
         dwt_readdiagnostics(&d1);
         LOS(&d1);