arch/sim/src/sim/up_idle.c: Report activity on simulated UART.
This commit is contained in:
parent
ddbb38ac91
commit
bca21c107f
@ -137,6 +137,9 @@ void up_idle(void)
|
||||
|
||||
if (g_uart_data_available)
|
||||
{
|
||||
#ifdef CONFIG_PM
|
||||
pm_activity(PM_IDLE_DOMAIN, 100); /* Report important activity to PM */
|
||||
#endif
|
||||
g_uart_data_available = 0;
|
||||
simuart_post();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user