From 8ceee148a57495ea613b1f7030cdaa13ca492b75 Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 3 Oct 2007 16:19:51 +0000 Subject: [PATCH] Added fixme comment due to report of bug. Thank you John Taylor! --- bacnet-stack/ports/pic18f6720/rs485.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bacnet-stack/ports/pic18f6720/rs485.c b/bacnet-stack/ports/pic18f6720/rs485.c index f2d7daac..074c546f 100644 --- a/bacnet-stack/ports/pic18f6720/rs485.c +++ b/bacnet-stack/ports/pic18f6720/rs485.c @@ -127,6 +127,7 @@ uint8_t RS485_Check_UART_Data(volatile struct mstp_port_struct_t * RS485_Comstat.RxTail = 0; else RS485_Comstat.RxTail++; + /* FIXME: disable interrupts around Rx_Bytes */ RS485_Comstat.Rx_Bytes--; /* errors? let the state machine know */ if (RS485_Comstat.Rx_Bufferoverrun) {