zhangbo
5 天以前 e180d5942da65623312bca2280a5e64e96c0848d
Ô´Âë/ºËÐİå/Src/main.c
@@ -134,7 +134,7 @@
//      g_com_map[RELAY2_DISTANCE3] = 1400;   //默认报警距离50cm
//        g_com_map[WAR_JDQ_TIME] = 1; //1秒
//      g_com_map[POWER]=30;
//        g_com_map[SPEEDFILTER_THRES]=10000;
        g_com_map[SPEEDFILTER_THRES]=30000;
//      g_com_map[FILTER_COEFFICIENT]=40;
//        g_com_map[ANT_LENGTH]=0;
//        g_com_map[NOMOVESLEEP_TIME]=728;
@@ -142,7 +142,7 @@
        
   OUT485_ENABLE;
   ComMapCheck();   
   g_com_map[VERSION] = 1<<8|76;
   g_com_map[VERSION] = 1<<8|77;
    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)