Added test in MS/TP datalink for MAC Address in the Master Node range (0-127).
This commit is contained in:
@@ -1218,10 +1218,12 @@ uint16_t dlmstp_receive(
|
||||
MSTP_Flag.ReceivedValidFrameNotForUs = false;
|
||||
}
|
||||
if (Receive_State == MSTP_RECEIVE_STATE_IDLE) {
|
||||
/* only do master state machine while rx is idle */
|
||||
while (MSTP_Master_Node_FSM()) {
|
||||
/* do nothing while some states fast transition */
|
||||
};
|
||||
/* only do master or slave state machine while rx is idle */
|
||||
if (This_Station <= DEFAULT_MAX_MASTER) {
|
||||
while (MSTP_Master_Node_FSM()) {
|
||||
/* do nothing while some states fast transition */
|
||||
};
|
||||
}
|
||||
}
|
||||
/* if there is a packet that needs processed, do it now. */
|
||||
if (MSTP_Flag.ReceivePacketPending) {
|
||||
|
||||
Reference in New Issue
Block a user