From cb5ff916850a3ab91774f6125cc3e73a04e6d754 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 17 四月 2022 17:26:15 +0800 Subject: [PATCH] v1.72 --- 源码/核心板/Src/application/dw_app.c | 4 +++- 1 files changed, 3 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 16ecef4..416923f 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" @@ -1250,8 +1250,10 @@ } }else{ #ifdef DBGMSG_OUTPUT - dbgmsg_len = sprintf(dbgmsg,"%s status_reg:%x",__debug_info__,status_reg); + if(status_reg&SYS_STATUS_ALL_RX_ERR) + { dbgmsg_len = sprintf(dbgmsg,"%s status_reg:%x",__debug_info__,status_reg); SendDbgMsg(dbgmsg,dbgmsg_len); + } #endif dwt_write32bitreg(SYS_STATUS_ID, SYS_STATUS_ALL_RX_ERR); } -- Gitblit v1.9.3