From b1225c11f89dad1a749b6572e50e5e5fce5234e8 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 14 May 2016 12:01:37 -0400 Subject: Trailing whitespace cleanup. --- rpc_client_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc_client_serial.c') diff --git a/rpc_client_serial.c b/rpc_client_serial.c index d6bda1d..5194793 100644 --- a/rpc_client_serial.c +++ b/rpc_client_serial.c @@ -52,7 +52,7 @@ static int fd = -1; hal_error_t hal_rpc_client_transport_init(void) { struct termios tty; - + fd = open(DEVICE, O_RDWR | O_NOCTTY | O_SYNC); if (fd == -1) return perror("open"), HAL_ERROR_RPC_TRANSPORT; @@ -98,7 +98,7 @@ hal_error_t hal_rpc_send(const uint8_t * const buf, const size_t len) hal_error_t hal_rpc_recv(uint8_t * const buf, size_t * const len) { int ret; - + if ((ret = hal_slip_recv(buf, *len)) == -1) return HAL_ERROR_RPC_TRANSPORT; *len = ret; -- cgit v1.2.3