Adding time stamp to mstpcap file name. Untested.

This commit is contained in:
skarg
2009-02-15 13:27:41 +00:00
parent 7d81e3536d
commit 209f63b1dc
3 changed files with 218 additions and 48 deletions
+2 -1
View File
@@ -243,8 +243,9 @@ void RS485_Initialize(
printf("RS485: Initializing %s", RS485_Port_Name);
/*
Open device for reading and writing.
Blocking mode - more CPU effecient
*/
RS485_Handle = open(RS485_Port_Name, O_RDWR | O_NOCTTY | O_NDELAY);
RS485_Handle = open(RS485_Port_Name, O_RDWR | O_NOCTTY /*| O_NDELAY*/);
if (RS485_Handle < 0) {
perror(RS485_Port_Name);
exit(-1);