From e07866b90671d3fda440997d5350e251b414fd31 Mon Sep 17 00:00:00 2001 From: IMback Date: Fri, 3 Nov 2017 19:04:15 +0100 Subject: [PATCH] Fix some compiler warnings --- serial_io.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/serial_io.cpp b/serial_io.cpp index d4f65f4..e6006d6 100644 --- a/serial_io.cpp +++ b/serial_io.cpp @@ -5,13 +5,13 @@ struct termios toptions; void sWrite(int port, char string[], size_t length) { if(port != -1) write(port, string, length); - else for( int j = 0; j < length; j++ )std::cout<