cleaned up the fallout after refactoring to bacapp module.

This commit is contained in:
skarg
2005-12-10 22:42:41 +00:00
parent ed11b33b29
commit 3d0eaed3d6
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -19,6 +19,7 @@ SRCS = ports/linux/main.c \
dlmstp.c \
handlers.c \
bacdcode.c \
bacapp.c \
bigend.c \
whois.c \
iam.c \
+1
View File
@@ -34,6 +34,7 @@
#ifndef BACDEF_H
#define BACDEF_H
#include <stddef.h>
#include <stdint.h>
#include "bacenum.h"
#include "config.h"
+3 -3
View File
@@ -489,11 +489,11 @@ bool Device_Write_Property(
case PROP_OBJECT_IDENTIFIER:
if (wp_data->value.tag == BACNET_APPLICATION_TAG_OBJECT_ID)
{
if ((wp_data->value.type.Object_ID.type == OBJECT_DEVICE) &&
(wp_data->value.type.Object_ID.instance <= BACNET_MAX_INSTANCE))
if ((wp_data->value.type.Object_Id.type == OBJECT_DEVICE) &&
(wp_data->value.type.Object_Id.instance <= BACNET_MAX_INSTANCE))
{
Device_Set_Object_Instance_Number(
wp_data->value.type.Object_ID.instance);
wp_data->value.type.Object_Id.instance);
I_Am_Request = true;
status = true;
}