Testing the MS/TP datalink layer on Linux.

This commit is contained in:
skarg
2007-06-29 22:46:19 +00:00
parent d0ea78178a
commit 1824d4a95e
5 changed files with 105 additions and 95 deletions
+2
View File
@@ -49,6 +49,7 @@
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include <sched.h>
/* Local includes */
#include "mstp.h"
@@ -201,6 +202,7 @@ void RS485_Send_Frame(
turnaround_time = 1;
while (mstp_port->SilenceTimer < turnaround_time) {
/* do nothing - wait for timer to increment */
sched_yield();
};
}
/*