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
|
@ -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…
Reference in New Issue