diff --git a/bacnet-stack/ports/atmega168/av.c b/bacnet-stack/ports/atmega168/av.c index 8d41918c..2551e567 100644 --- a/bacnet-stack/ports/atmega168/av.c +++ b/bacnet-stack/ports/atmega168/av.c @@ -165,7 +165,6 @@ bool Analog_Value_Write_Property( { bool status = false; /* return value */ unsigned int object_index = 0; - unsigned int priority = 0; int len = 0; BACNET_APPLICATION_DATA_VALUE value; diff --git a/bacnet-stack/ports/atmega168/dlmstp.c b/bacnet-stack/ports/atmega168/dlmstp.c index c67e329e..c59560d6 100644 --- a/bacnet-stack/ports/atmega168/dlmstp.c +++ b/bacnet-stack/ports/atmega168/dlmstp.c @@ -49,7 +49,6 @@ /* This file has been customized for use with small microprocessors */ /* Assumptions: - APDU size of 50 or 128 (255 or less) Only one MS/TP datalink layer */ #include "hardware.h" @@ -147,7 +146,7 @@ static uint8_t FrameType; and microcontroller architectures have limits as to places to hold contiguous memory. */ static uint8_t *InputBuffer; -static uint8_t InputBufferSize; +static uint16_t InputBufferSize; /* Used to store the Source Address of a received frame. */ static uint8_t SourceAddress; /* "This Station," the MAC address of this node. TS is generally read from a */