forked from xuos/xiuos
atti board bsp update to nuttx 10.3
This commit is contained in:
+2
-2
@@ -58,7 +58,6 @@
|
||||
#include "stm32_uart.h"
|
||||
#include "stm32_dma.h"
|
||||
#include "stm32_rcc.h"
|
||||
#include "arm_arch.h"
|
||||
#include "arm_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -2238,7 +2237,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
||||
#if defined(CONFIG_SERIAL_TERMIOS) || defined(CONFIG_STM32_SERIALBRK_BSDCOMPAT)
|
||||
struct up_dev_s *priv = (struct up_dev_s *)dev->priv;
|
||||
#endif
|
||||
int ret = OK;
|
||||
int ret = OK;
|
||||
|
||||
switch (cmd)
|
||||
{
|
||||
@@ -2967,6 +2966,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
|
||||
# ifdef CONFIG_STM32_SERIALBRK_BSDCOMPAT
|
||||
if (priv->ie & USART_CR1_IE_BREAK_INPROGRESS)
|
||||
{
|
||||
leave_critical_section(flags);
|
||||
return;
|
||||
}
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user