From 93826be9e58da2cf8cecba9d15ef3a3249d42077 Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 22 Jan 2009 05:19:14 +0000 Subject: [PATCH] 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! --- bacnet-stack/ports/pic18f6720/mstp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/ports/pic18f6720/mstp.c b/bacnet-stack/ports/pic18f6720/mstp.c index 0e184c00..07ae407f 100644 --- a/bacnet-stack/ports/pic18f6720/mstp.c +++ b/bacnet-stack/ports/pic18f6720/mstp.c @@ -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 =