From fc77980ff8e2386cff624d4337db09902c600352 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 08 十一月 2020 17:57:20 +0800 Subject: [PATCH] 增加滤波功能 --- 源码/核心板/Src/application/dw_app.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.c" index 767770f..2ba756b 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.c" @@ -924,7 +924,7 @@ getrange_success = 1; LED0_BLINK; //每成功一次通讯则闪烁一次 dis_after_filter=dist_cm; - hex_dist = dist_cm+(int16_t)g_com_map[DIST_OFFSET]; + hex_dist = dist_cm+(int16_t)g_com_map[DIST_OFFSET]*10; g_flag_Taggetdist[taglist_pos]=0; if(hex_dist>-10000&&hex_dist<2000000) { -- Gitblit v1.9.3