Add clear of MCU status registers at initialization.

This commit is contained in:
skarg
2010-09-24 19:38:32 +00:00
parent 6826688777
commit d5822ac53a
5 changed files with 7 additions and 5 deletions
@@ -1208,6 +1208,7 @@ 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 */
};