Fix excessive ReplyPostponed frames in PIC MS/TP port.

This commit is contained in:
skarg
2015-01-30 20:39:02 +00:00
parent 3a3c3c24be
commit c2533b6ead
+1 -1
View File
@@ -1166,7 +1166,7 @@ bool MSTP_Master_Node_FSM(
(uint8_t *) & mstp_port->TxBuffer[0], mstp_port->TxLength);
mstp_port->TxReady = false;
mstp_port->master_state = MSTP_MASTER_STATE_IDLE;
} else {
} else if (mstp_port->SilenceTimer > Treply_delay) {
/* DeferredReply */
/* If no reply will be available from the higher layers */
/* within Treply_delay after the reception of the */