主流程
This commit is contained in:
1 parent
f96e72dbb8
commit
0045c0c390
10 files changed
+216
-74
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user