Kinetis Serial: Fixed compile error when UART5 is selected

This commit is contained in:
Maciej Skrzypek 2017-01-13 08:14:41 -06:00 committed by Gregory Nutt
parent 4becebe59f
commit 98bdd12521

View File

@ -875,7 +875,7 @@ static int up_interrupts(int irq, void *context)
else
#endif
#ifdef CONFIG_KINETIS_UART5
if (g_uart5priv.irq == irqs)
if (g_uart5priv.irqs == irq)
{
dev = &g_uart5port;
}