源码/核心板/Src/main.c
@@ -52,6 +52,7 @@ extern u8 module_power; u16 slottime,max_slotnum,current_slotpos,dist_threshold; u16 supergroupid; void Program_Init(void) {uint16_t i; float temp; @@ -91,7 +92,8 @@ { module_power=67; } g_com_map[VERSION] = 0x012c; supergroupid = g_com_map[IMU_THRES]; g_com_map[VERSION] = 0x012d; g_com_map[SW_TYPE] = SW_MODBUS; temp=(float)g_com_map[MAX_REPORT_ANC_NUM]*4/3; temp2=g_com_map[MAX_REPORT_ANC_NUM]*4/3;