Adding time stamp to mstpcap file name. Untested.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user