From 0c2b13a6bca382bf5be2b7d4972d35b0e1004077 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期三, 18 十一月 2020 16:55:02 +0800 Subject: [PATCH] 修改10秒就重启,修改校验方式 --- 源码/核心板/Src/application/dw_app.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/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 0f241c3..85f59ad 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" @@ -449,7 +449,7 @@ memcpy(&rec_tagpos_binary,&rx_buffer[NEARMSG_EMPTYSLOTPOS_INDEX],4); if(temp_dist!=0x1ffff) { - g_Resttimer=0; +// g_Resttimer=0; #ifndef USART_INTEGRATE_OUTPUT usart_send[2] = 1;//正常模式 usart_send[3] = 17;//数据段长度 @@ -922,7 +922,7 @@ /*--------------------------以下为非测距逻辑------------------------*/ //dist_cm=33000; getrange_success = 1; - g_Resttimer=0; +// g_Resttimer=0; LED0_BLINK; //每成功一次通讯则闪烁一次 dis_after_filter=dist_cm; hex_dist = dist_cm+(int16_t)g_com_map[DIST_OFFSET]*10; -- Gitblit v1.9.3