zhyinch
2019-12-11 da9ce9541aee3b4f4d55cf114758a44ae98b8b1f
源码/核心板/Src/main.c
@@ -11,7 +11,7 @@
#include "global_param.h"
#include "ADC.h"
#define DEBUG_MODE
//#define DEBUG_MODE
void Device_Init(void)
{
@@ -55,10 +55,12 @@
   //deca_sleep(1000);
   HeartBeatInit();
#ifdef DEBUG_MODE
   g_com_map[DEV_ROLE]=0;
      g_com_map[DEV_ID]=4;
   g_com_map[DEV_ROLE]=1;
      g_com_map[DEV_ID]=1;
   g_com_map[COM_INTERVAL]=100;
   g_com_map[MAX_REPORT_ANC_NUM]=3;
      g_com_map[NEARBASE_NUM]=1;
      g_com_map[NEARBASE_ID1]=2;
#endif
   OUT485_ENABLE;
   g_com_map[VERSION] = 0x0107;