From e4d167a7d5e73b58a7d4adbc8b91499dc1e2d4c4 Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期二, 01 四月 2025 11:08:41 +0800 Subject: [PATCH] 低功耗,逻辑正确,现在室外40ma,室内20ma电流 --- 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 acfa2f3..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 496 +#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