zhyinch
2020-01-09 b0e6260abb7b73fbc178af119c24b0a73ab2ffc5
源码/核心板/Src/main.c
@@ -11,7 +11,7 @@
#include "global_param.h"
#include "ADC.h"
#define DEBUG_MODE
//#define DEBUG_MODE
void Device_Init(void)
{
@@ -63,7 +63,7 @@
      g_com_map[NEARBASE_ID1]=2;
#endif
   OUT485_ENABLE;
   g_com_map[VERSION] = 0x0107;
   g_com_map[VERSION] = 0x0108;
   dev_id = g_com_map[DEV_ID];
   slottime=ceil((double)g_com_map[MAX_REPORT_ANC_NUM]*4/3);
   max_slotpos=g_com_map[COM_INTERVAL]/slottime;