Corrected linker error.

This commit is contained in:
skarg
2011-08-31 16:47:01 +00:00
parent 6a807dbf0d
commit 5f86e70352
+2 -2
View File
@@ -1118,7 +1118,7 @@ static bool MSTP_Master_Node_FSM(
Master_State = MSTP_MASTER_STATE_IDLE;
/* clear our flag we were holding for comparison */
MSTP_Flag.ReceivedValidFrame = false;
} else if (rs485_silence_time_elapsed(Treply_delay) ||
} else if ((Timer_Silence() > Treply_delay) ||
(pkt != NULL)) {
/* DeferredReply */
/* If no reply will be available from the higher layers */
@@ -1204,7 +1204,7 @@ static void MSTP_Slave_Node_FSM(
}
/* clear our flag we were holding for comparison */
MSTP_Flag.ReceivePacketPending = false;
} else if (rs485_silence_time_elapsed(Treply_delay)) {
} else if ((Timer_Silence() > Treply_delay)) {
/* If no reply will be available from the higher layers
within Treply_delay after the reception of the final octet
of the requesting frame (the mechanism used to determine