zhyinch
2021-08-31 6e7045056f9cb467f12bb2b3f2ce5ff7c75edaf2
源码/核心板/Src/main.c
@@ -2,6 +2,7 @@
#include "Rcc_Nvic_Systick.h"
#include "Usart.h"
#include "Spi.h"
#include "Flash.h"
#include "led.h"
#include "beep.h"
#include "dw_driver.h"
@@ -116,6 +117,7 @@
   }
    JDQ_time = g_com_map[WAR_JDQ_TIME]*10;
   g_com_map[VERSION] = 0x0135;
    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]);
   ComMapCheck();   
   g_com_map[SW_TYPE] =    SW_FANGZHUANG;