From 5f86e703520b445d72d623358a2f77dc12f3d868 Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 31 Aug 2011 16:47:01 +0000 Subject: [PATCH] Corrected linker error. --- bacnet-stack/ports/at91sam7s/dlmstp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/ports/at91sam7s/dlmstp.c b/bacnet-stack/ports/at91sam7s/dlmstp.c index 085e169d..ed82b5dc 100644 --- a/bacnet-stack/ports/at91sam7s/dlmstp.c +++ b/bacnet-stack/ports/at91sam7s/dlmstp.c @@ -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