源码/核心板/Src/main.c
@@ -99,7 +99,7 @@ if(dist_threshold>15000) {dist_threshold = 15000;} } u16 JDQ_time; u16 JDQ_time,supergroupid; int16_t g_commap_antdelay; void Program_Init(void) { float temp; @@ -145,7 +145,8 @@ OUT485_ENABLE; ComMapCheck(); g_com_map[VERSION] = 0x013a; g_com_map[VERSION] = 0x013b; supergroupid = g_com_map[IMU_THRES]; FLASH_Read(FLASH_HARDWARE_FLAG, (uint8_t*)&g_com_map[HARDWAREFLAG_INDEX], 16); dist_threshold = (g_com_map[SPEEDFILTER_THRES]*10)/(1000/g_com_map[COM_INTERVAL]); g_commap_antdelay = g_com_map[ANT_LENGTH];