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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user