From 7db378e2b93702b98ffe7f7b6ab9a4d20aaabb20 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期四, 16 四月 2020 08:50:37 +0800 Subject: [PATCH] V1.10 去掉基站标识,改输出模式 --- 源码/核心板/Src/application/beep_logic_app.c | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 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..a40b977 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,21 @@ beep_ontime = ONTIME1; beep_offtime = OFFTIME1; beep_state=1; - }else if (min_dist <= g_com_map[ALARM_DISTANCE2]) + + } + 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_DISTANCE3]) +// { +// beep_ontime = ONTIME3; +// beep_offtime = OFFTIME3; +// beep_state=1; +// } + else{ beep_state=0; } -- Gitblit v1.9.3