主流程

This commit is contained in:
kirl committed 2026-08-01 02:41:29 +08:00
1 parent f96e72dbb8
commit 0045c0c390
10 files changed
+216 -74

No files matched your search

+14
View File
@@ -221,3 +221,17 @@ void rgb_off(void)
{
rgb_transmit(0, 0, 0);
}
/* ── 系统状态 ── */
static rgb_state_t s_rgb_state = RGB_STATE_IDLE;
void rgb_set_state(rgb_state_t state)
{
s_rgb_state = state;
}
rgb_state_t rgb_get_state(void)
{
return s_rgb_state;
}