Corrected the MS/TP monitor on Linux.

This commit is contained in:
skarg
2008-02-28 02:08:40 +00:00
parent bf353b0c56
commit 9daa40131d
3 changed files with 15 additions and 8 deletions
+2
View File
@@ -226,6 +226,7 @@ void RS485_Initialize(
{
struct termios newtio;
printf("RS485: Initializing %s", RS485_Port_Name);
/*
Open device for reading and writing.
*/
@@ -264,6 +265,7 @@ void RS485_Initialize(
tcsetattr(RS485_Handle, TCSAFLUSH, &newtio);
/* destructor */
atexit(RS485_Cleanup);
printf("=success!\n");
}
#ifdef TEST_RS485