mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user