Fixed MS/TP state MSTP_MASTER_STATE_WAIT_FOR_REPLY in ports/pic18f6720/mstp.c that prevented receiving the responses of your command to the peer. Thank you, Sungjune Lee!

This commit is contained in:
skarg
2009-01-22 05:19:14 +00:00
parent eb5838c3d5
commit 93826be9e5
+1 -1
View File
@@ -751,7 +751,7 @@ bool MSTP_Master_Node_FSM(
} else if (mstp_port->ReceivedValidFrame == true) {
if (mstp_port->DestinationAddress ==
mstp_port->This_Station) {
switch (mstp_port->TxFrameType) {
switch (mstp_port->FrameType) {
case FRAME_TYPE_REPLY_POSTPONED:
/* ReceivedReplyPostponed */
mstp_port->master_state =