arch/sim/src/sim/up_idle.c: Report activity on simulated UART.

This commit is contained in:
Matias Nitsche 2019-10-24 08:15:29 -06:00 committed by Gregory Nutt
parent ddbb38ac91
commit bca21c107f

View File

@ -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();
}