From ae7d9d1ce43c4c004742b246e425ed3e83f92444 Mon Sep 17 00:00:00 2001
From: zhangbo <zhangbo@qq.com>
Date: 星期六, 10 五月 2025 16:57:24 +0800
Subject: [PATCH] 测试完成版本V1.16,修改sos报警,还有电量异常,还有30秒测距休眠的问题

---
 keil/include/board/board.h |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/keil/include/board/board.h b/keil/include/board/board.h
index 070088c..9a05dca 100644
--- a/keil/include/board/board.h
+++ b/keil/include/board/board.h
@@ -86,7 +86,7 @@
 #define CALIB_CH5 1
 #define CALIB_CH2 2
 #define CALIB_CH_NUM 3
-
+#define SLEEP_TIMER_NUM 500
 #define CALIB_CH(x) (x == 9 ? 0 : (x == 5 ? 1 : 2))
 
 enum BOARD_NVM_ITEM_ID_T
@@ -151,6 +151,12 @@
 void board_debug_console_open(enum TRACE_PORT_T port);
 
 /**
+ * @brief Configure debug trace port and baud.
+ * @param[in] port      Trace port
+ *
+ */
+void board_debug_console_open_baud(enum TRACE_PORT_T port,enum UART_BAUD_T baud_rate);
+/**
  * @brief Load default calibration parameters.
  *
  */

--
Gitblit v1.9.3