PM:use CONFIG_SERIAL_PM_ACTIVITY_PRIORITY == 0 disable pm_activity which need by bl616

Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
This commit is contained in:
dulibo1 2024-02-21 17:08:43 +08:00 committed by Xiang Xiao
parent 5a57aa0af8
commit b4b07ce6bd
1 changed files with 2 additions and 0 deletions

View File

@ -1942,8 +1942,10 @@ void uart_datareceived(FAR uart_dev_t *dev)
if (dev->isconsole)
{
# if CONFIG_SERIAL_PM_ACTIVITY_PRIORITY > 0
pm_activity(CONFIG_SERIAL_PM_ACTIVITY_DOMAIN,
CONFIG_SERIAL_PM_ACTIVITY_PRIORITY);
# endif
}
#endif
}