summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at90usb/at90usb_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/avr/src/at90usb/at90usb_serial.c')
-rw-r--r--nuttx/arch/avr/src/at90usb/at90usb_serial.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/arch/avr/src/at90usb/at90usb_serial.c b/nuttx/arch/avr/src/at90usb/at90usb_serial.c
index 8d906a915..854cbb4c3 100644
--- a/nuttx/arch/avr/src/at90usb/at90usb_serial.c
+++ b/nuttx/arch/avr/src/at90usb/at90usb_serial.c
@@ -107,7 +107,7 @@ static bool usart1_txempty(struct uart_dev_s *dev);
****************************************************************************/
struct uart_ops_s g_uart1_ops =
-{
+{O
.setup = usart1_setup,
.shutdown = usart1_shutdown,
.attach = usart1_attach,
@@ -116,6 +116,9 @@ struct uart_ops_s g_uart1_ops =
.receive = usart1_receive,
.rxint = usart1_rxint,
.rxavailable = usart1_rxavailable,
+#ifdef CONFIG_SERIAL_IFLOWCONTROL
+ .rxflowcontrol = NULL,
+#endif
.send = usart1_send,
.txint = usart1_txint,
.txready = usart1_txready,