feat(button): 添加按键模块及初始化按键去皮功能

This commit is contained in:
2026-05-11 14:23:05 +08:00
parent dc525ea4e7
commit 353f9aca13
3 changed files with 92 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#pragma once
/**
* @brief 初始化按键模块:Button1 按下触发去皮 + LED1 闪烁反馈。
* @return 0 成功,负 errno 失败。
*/
int button_init(void);