修正打开cat1时 对 Veto PM_ID_DEBUG的操作
authorSnickerSun <snickersun@163.com>
Sat, 5 Oct 2024 06:42:11 +0000 (14:42 +0800)
committerSnickerSun <snickersun@163.com>
Sat, 5 Oct 2024 06:42:11 +0000 (14:42 +0800)
code/sdk/middleware/chips/brandy/pm/service/pm_sleep.c

index 1cb8539..31db2c6 100755 (executable)
@@ -224,7 +224,7 @@ void pm_wkup_event_by_uart_callback(void)
 {
 
     #ifndef SUPPORT_RECOVERY_DISPLAY //判定是否是在编译RECOVERY image,本参数不支持RECOVERY
-    if (uapi_custom_uart_rx_enable_flag() == false)
+    if (uapi_custom_uart_rx_enable_flag())
         uapi_pm_add_sleep_veto(PM_ID_DEBUG);
     #endif
 }