Corrected bug in WAIT_FOR_REPLY state of MS/TP Master Node.
This commit is contained in:
+1
-2
@@ -799,8 +799,7 @@ bool MSTP_Master_Node_FSM(volatile struct mstp_port_struct_t * mstp_port)
|
|||||||
} else if (mstp_port->ReceivedValidFrame == true) {
|
} else if (mstp_port->ReceivedValidFrame == true) {
|
||||||
if (mstp_port->DestinationAddress ==
|
if (mstp_port->DestinationAddress ==
|
||||||
mstp_port->This_Station) {
|
mstp_port->This_Station) {
|
||||||
/* Last Transmitted Frame Type */
|
switch (mstp_port->FrameType) {
|
||||||
switch (mstp_port->OutputBuffer[2]) {
|
|
||||||
case FRAME_TYPE_REPLY_POSTPONED:
|
case FRAME_TYPE_REPLY_POSTPONED:
|
||||||
/* ReceivedReplyPostponed */
|
/* ReceivedReplyPostponed */
|
||||||
mstp_port->master_state =
|
mstp_port->master_state =
|
||||||
|
|||||||
Reference in New Issue
Block a user