Kinetis:Fixed up_rxint - did not disable the RX interuppts

There was an OR where and AND NOT was needed.
This commit is contained in:
David Sidrane 2017-02-27 07:19:19 -10:00
parent 8ff7e5106d
commit ddb00217be

View File

@ -1079,9 +1079,9 @@ static void up_rxint(struct uart_dev_s *dev, bool enable)
{
#ifdef CONFIG_DEBUG_FEATURES
# warning "Revisit: How are errors enabled?"
priv->ie |= UART_C2_RIE;
priv->ie &= ~UART_C2_RIE;
#else
priv->ie |= UART_C2_RIE;
priv->ie &= ~UART_C2_RIE;
#endif
up_setuartint(priv);
}