corrected code after unit testing.

This commit is contained in:
skarg
2005-05-23 11:03:14 +00:00
parent 337f38d7fc
commit f0a28e494b
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ int wp_decode_service_request(
else if (tag_number == BACNET_APPLICATION_TAG_OBJECT_ID) else if (tag_number == BACNET_APPLICATION_TAG_OBJECT_ID)
{ {
data->value.tag = tag_number; data->value.tag = tag_number;
len += decode_object_id(&apdu[tag_len], len += decode_object_id(&apdu[len],
&object_type, &object_type,
&instance); &instance);
data->value.type.Object_ID.type = object_type; data->value.type.Object_ID.type = object_type;
-1
View File
@@ -62,7 +62,6 @@ typedef struct BACnet_Write_Property_Value
uint16_t type; uint16_t type;
uint32_t instance; uint32_t instance;
} Object_ID; } Object_ID;
uint32_t Object_Identifier;
} type; } type;
} BACNET_WRITE_PROPERTY_VALUE; } BACNET_WRITE_PROPERTY_VALUE;