added some more debug to RS485 on Linux

This commit is contained in:
skarg
2014-11-02 05:29:42 +00:00
parent 3fca74bcfb
commit 66f52e438f
+1 -1
View File
@@ -613,7 +613,7 @@ void RS485_Initialize(
/* if all goes well, set new divisor */
ioctl(RS485_Handle, TIOCSSERIAL, &newserial);
}
printf(" at Baud Rate %u", RS485_Get_Baud_Rate());
/* destructor */
atexit(RS485_Cleanup);
/* flush any data waiting */