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:
parent
5a57aa0af8
commit
b4b07ce6bd
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue