diff --git a/bacnet-stack/src/event.c b/bacnet-stack/src/event.c index c3ceacbc..a70c2cc9 100644 --- a/bacnet-stack/src/event.c +++ b/bacnet-stack/src/event.c @@ -972,7 +972,7 @@ void testBaseEventState( void testEventEventState( Test * pTest) { - uint8_t buffer[1000]; + uint8_t buffer[MAX_APDU]; int inLen; int outLen; BACNET_CHARACTER_STRING messageText; diff --git a/bacnet-stack/test.mak b/bacnet-stack/test.mak index ba9c8c3f..c3f4f17a 100644 --- a/bacnet-stack/test.mak +++ b/bacnet-stack/test.mak @@ -1,9 +1,9 @@ LOGFILE = test.log all: abort address arf awf bacapp bacdcode bacerror bacint \ - bacstr cov crc datetime dcc event fifo filename iam ihave \ - indtext keylist key lso mstp npdu rd reject ringbuf rp \ - rpm sbuf timesync whohas whois wp + bacstr cov crc datetime dcc fifo filename iam ihave \ + indtext keylist key lso npdu rd reject ringbuf rp \ + rpm sbuf timesync whohas whois wp event clean: rm ${LOGFILE}