From 9ac79fd3b86ed2c2e8b1ba8a2d78e99abf2e8ac3 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期六, 02 十一月 2019 15:22:09 +0800 Subject: [PATCH] 华星智控 485IAP 成功 --- 源码/核心板/Src/application/beep_logic_app.c | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/beep_logic_app.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/beep_logic_app.c" index 33b32a1..74c8075 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/beep_logic_app.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/beep_logic_app.c" @@ -37,17 +37,20 @@ beep_ontime = ONTIME1; beep_offtime = OFFTIME1; beep_state=1; - }else if (min_dist <= g_com_map[ALARM_DISTANCE2]) - { - beep_ontime = ONTIME2; - beep_offtime = OFFTIME2; - beep_state=1; - }else if (min_dist <= g_com_map[ALARM_DISTANCE3]) - { - beep_ontime = ONTIME3; - beep_offtime = OFFTIME3; - beep_state=1; - }else{ + + } +// else if (min_dist <= g_com_map[ALARM_DISTANCE2]) +// { +// beep_ontime = ONTIME2; +// beep_offtime = OFFTIME2; +// beep_state=1; +// }else if (min_dist <= g_com_map[ALARM_DISTANCE3]) +// { +// beep_ontime = ONTIME3; +// beep_offtime = OFFTIME3; +// beep_state=1; +// } + else{ beep_state=0; } -- Gitblit v1.9.3