From 61b5220eefbec3fff8df2fa0ff13d216626df280 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 07 十一月 2020 17:40:07 +0800 Subject: [PATCH] Revert "Revert "Revert "V1.34 增加滤波 防撞1对10发货""" --- 源码/核心板/Src/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/main.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/main.c" index 7897c35..014e391 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/main.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/main.c" @@ -71,7 +71,7 @@ { g_com_map[COM_INTERVAL]=100; } - g_com_map[VERSION] = 0x011e; + g_com_map[VERSION] = 0x0121; dev_id = g_com_map[DEV_ID]; slottime=ceil((double)g_com_map[MAX_REPORT_ANC_NUM]*SLOT_SCALE)+3; max_slotpos=g_com_map[COM_INTERVAL]/slottime; @@ -172,7 +172,7 @@ tagpos_rec[i] = 0; } } - if(target_time>1000) + if(target_time>=1000) {target_time-=1000;} #ifdef USART_INTEGRATE_OUTPUT if(g_com_map[DEV_ROLE]==0&&usart_send_flag) -- Gitblit v1.9.3