From 8e405075a9bc14ee38bfece2a410ee7d28dd306c Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 21 十月 2018 16:48:44 +0800 Subject: [PATCH] 解决开机读不到IDbug --- 源码/核心板/Src/application/dw_app.c | 6 ++++-- 1 files changed, 4 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 b28421b..450a384 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" @@ -31,7 +31,7 @@ #include "global_param.h" #include "filters.h" #include <stdio.h> - +#include "beep.h" /*------------------------------------ Marcos ------------------------------------------*/ @@ -83,7 +83,7 @@ /*------------------------------------ Variables ------------------------------------------*/ /* Default communication configuration. We use here EVK1000's default mode (mode 3). */ static dwt_config_t config = { - 5, /* Channel number. */ + 2, /* Channel number. */ DWT_PRF_64M, /* Pulse repetition frequency. */ DWT_PLEN_128, /* Preamble length. */ DWT_PAC8, /* Preamble acquisition chunk size. Used in RX only. */ @@ -502,6 +502,8 @@ g_pairstart=0; g_com_map[PAIR_ID]=tag_id_recv; save_com_map_to_flash(); + BEEP2_ON; + delay_ms(1000); printf("Pair Finish PairID: %d. \r\n",g_com_map[PAIR_ID]); } g_flag_Taggetdist[tag_id_recv]=0; -- Gitblit v1.9.3