zhyinch
2020-03-24 8611c0f0267870ef8c7d456a3cf6dea001462d93
源码/核心板/Src/main.c
@@ -10,7 +10,7 @@
#include "serial_at_cmd_app.h"
#include "global_param.h"
#include "ADC.h"
#include "modbus.h"
//#define DEBUG_MODE
void Device_Init(void)
@@ -69,7 +69,7 @@
#endif
      //pUWBDistanceTrackingDiff = NewTrackingDiffClass(2, 4, 0.03);
      dev_id = g_com_map[DEV_ID];
      g_com_map[VERSION] = 0x0111;
      g_com_map[VERSION] = 0x0112;
   temp=(float)g_com_map[MAX_REPORT_ANC_NUM]*4/3;   
   temp2=g_com_map[DEV_ID]*g_com_map[MAX_REPORT_ANC_NUM]*4/3;
   if(temp2<temp)