/****************************************************************************** * @file led_manager.h * @brief CBR2 红绿 LED 通道与事件表(绿=作业 / 红=配对 / OTA、失败占双灯) * @author cyWu <1917507415@qq.com> * @date 2026.09.09 * @version V1.0.0,P0 Bring-up ******************************************************************************/ #ifndef __LED_MANAGER_H__ #define __LED_MANAGER_H__ #include "led.h" typedef enum { LED_CH_RED = 0, LED_CH_GREEN, LED_CH_MAX } LedChannel_t; /** * @brief 注册 GPIO 回调并装载 CBR2 事件表(GPIO 已在 bsp_hw_init 配置) * @return 无 */ void user_led_init(void); /** * @brief 跑一轮 LED 事件 * @return 无 */ void user_led_handle(void); #endif /* __LED_MANAGER_H__ */