From 30303d366d1a0d857357c90bed876686f2d1e603 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 18 十一月 2025 19:44:21 +0800 Subject: [PATCH] 添加新的文件 --- STM32H743/FML/SBUS.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/STM32H743/FML/SBUS.h b/STM32H743/FML/SBUS.h index bca2f23..849c8f5 100644 --- a/STM32H743/FML/SBUS.h +++ b/STM32H743/FML/SBUS.h @@ -113,6 +113,14 @@ // SBUS Debug function (浣跨敤 HIDO_Debug2 杈撳嚭鍒� UART_ID_DBG) HIDO_VOID SBUS_PrintDebugInfo(void); +/** + * @brief 妫�鏌ユ槸鍚︿负鑷姩妯″紡 (Python鎺у埗) + * - CH8 (閫氶亾7) > 1500: 鑷姩妯″紡 (Python鎺у埗) + * - CH8 (閫氶亾7) < 1500: 鎵嬪姩妯″紡 (閬ユ帶鍣ㄦ帶鍒�) + * @return HIDO_TRUE: 鑷姩妯″紡, HIDO_FALSE: 鎵嬪姩妯″紡 + */ +HIDO_BOOL SBUS_IsAutoMode(HIDO_VOID); + // 澹版槑 HIDO_Debug2 鍑芥暟 extern HIDO_INT32 HIDO_Debug2(const HIDO_CHAR *_pcFmt, ...); -- Gitblit v1.9.3