From 6eb2aef654549654a826215467826156ead80bc6 Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 28 Oct 2011 14:15:10 +0000 Subject: [PATCH] Fixed compiler error (copy/paste from last fix). --- bacnet-stack/ports/stm32f10x/dlmstp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/ports/stm32f10x/dlmstp.c b/bacnet-stack/ports/stm32f10x/dlmstp.c index 190f8f1f..1c1869f0 100644 --- a/bacnet-stack/ports/stm32f10x/dlmstp.c +++ b/bacnet-stack/ports/stm32f10x/dlmstp.c @@ -1234,7 +1234,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 (rs485_silence_elapsed(Treply_delay) || (pkt != NULL)) { /* DeferredReply */ /* If no reply will be available from the higher layers */