源码/核心板/Src/main.c
@@ -142,7 +142,7 @@ OUT485_ENABLE; ComMapCheck(); g_com_map[VERSION] = 1<<8|73; g_com_map[VERSION] = 1<<8|2; 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]); if(dist_threshold<300) @@ -315,7 +315,7 @@ //StartUpTest(); Program_Init(); Dw1000_Init(); delay_ms(10); delay_ms(10); Dw1000_App_Init(); /* Loop forever initiating ranging exchanges. */ RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE);