Fixed MS/TP that was not working in ports/win32 (#694)
This commit is contained in:
committed by
GitHub
parent
e984a19885
commit
fd2f33b522
@@ -1672,7 +1672,7 @@ void MSTP_Init(struct mstp_port_struct_t *mstp_port)
|
||||
if ((mstp_port->Tframe_abort < 6) || (mstp_port->Tframe_abort > 100)) {
|
||||
mstp_port->Tframe_abort = DEFAULT_Tframe_abort;
|
||||
}
|
||||
if (mstp_port->Treply_delay > 250) {
|
||||
if ((mstp_port->Treply_delay == 0) || mstp_port->Treply_delay > 250) {
|
||||
mstp_port->Treply_delay = DEFAULT_Treply_delay;
|
||||
}
|
||||
if ((mstp_port->Treply_timeout < 20) ||
|
||||
|
||||
Reference in New Issue
Block a user