Reducing the memory required by ATmega168 port.

This commit is contained in:
skarg
2007-10-14 01:46:47 +00:00
parent 5d04c62dbe
commit 637b6900e3
8 changed files with 61 additions and 560 deletions
+1 -2
View File
@@ -66,8 +66,7 @@ int Encode_Property_APDU(
/* handle each object type */
switch(object_type) {
case OBJECT_DEVICE:
if ((object_instance == Device_Object_Instance_Number()) ||
(object_instance == BACNET_MAX_INSTANCE)) {
if (Device_Valid_Object_Instance_Number(object_instance)) {
apdu_len = Device_Encode_Property_APDU(
&apdu[0],
property,