From 7694f2129204756da947b58e52bb0f5d005d4268 Mon Sep 17 00:00:00 2001 From: Ouss4 Date: Fri, 13 Mar 2020 22:57:04 +0000 Subject: [PATCH] system/cu/cu_main.c: Fix nxstyle complaints. --- system/cu/cu_main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/system/cu/cu_main.c b/system/cu/cu_main.c index 4e59ad4cc..1e0fc035f 100644 --- a/system/cu/cu_main.c +++ b/system/cu/cu_main.c @@ -159,7 +159,8 @@ static int enable_crlf_conversion(int fd) #endif } -static int set_baudrate(int fd, int rate, enum parity_mode parity, int rtscts) +static int set_baudrate(int fd, int rate, enum parity_mode parity, + int rtscts) { #ifdef CONFIG_SERIAL_TERMIOS int rc = 0; @@ -344,8 +345,8 @@ int main(int argc, FAR char *argv[]) enable_crlf_conversion(g_cu.outfd); set_baudrate(g_cu.outfd, baudrate, parity, rtscts); - /* Open the serial device for reading. Since we are already connected, this - * should not fail. + /* Open the serial device for reading. Since we are already connected, + * this should not fail. */ g_cu.infd = open(devname, O_RDONLY);