Configure low-power sleep and wakeup sequences for RF alarm trigger without noise interruption
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user