From 55d96cdfadec1a63ae1a44ebbf4e7e18fa62af40 Mon Sep 17 00:00:00 2001 From: skarg Date: Mon, 2 Nov 2009 12:16:03 +0000 Subject: [PATCH] made the RPM encoder static since it uses a static local buffer, and was a problem if RPM tries to encode a group object using this RPM encoder. --- bacnet-stack/demo/handler/h_rpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/handler/h_rpm.c b/bacnet-stack/demo/handler/h_rpm.c index 22247efa..7e47b634 100644 --- a/bacnet-stack/demo/handler/h_rpm.c +++ b/bacnet-stack/demo/handler/h_rpm.c @@ -173,7 +173,7 @@ static unsigned RPM_Object_Property_Count( /* Encode the RPM property returning the length of the encoding, or 0 if there is no room to fit the encoding. */ -int RPM_Encode_Property( +static int RPM_Encode_Property( uint8_t * apdu, uint16_t offset, uint16_t max_apdu,