Configure low-power sleep and wakeup sequences for RF alarm trigger without noise interruption

This commit is contained in:
Antigravity IDE
2026-07-15 17:26:50 +08:00
parent 7292fd0fcb
commit afd59d28ee
4 changed files with 148 additions and 100 deletions

View File

@@ -205,7 +205,7 @@ void ClockApp_OnStart(void)
{
time_edit_active = 0;
current_state = STATE_NORMAL;
RF_SetMode(1);
RF_SetMode(0);
UI_ShowClockPage(current_state, current_hour, current_min);
// 启动时熄灭灯条
@@ -377,7 +377,7 @@ void MenuApp_onClose(void)
{
menu_level = 0;
RGB_Send(0, 0, 0, 0, 0, 0);
RF_SetMode(1);
RF_SetMode(0);
Uart_SendString("[MenuApp] Closed\r\n");
}
@@ -577,7 +577,7 @@ void PairApp_onClose(void)
{
RGB_Send(0, 0, 0, 0, 0, 0); // 关闭灯光
MOTOR = 0;
RF_SetMode(1);
RF_SetMode(0);
Uart_SendString("[PairApp] Closed\r\n");
}