Fixed headers when built without Intrinsic Reporting.

This commit is contained in:
k001a
2011-08-15 08:16:41 +00:00
parent c2282c5aad
commit 08028dd819
4 changed files with 9 additions and 17 deletions
+2 -2
View File
@@ -1487,9 +1487,9 @@ bool Device_Encode_Value_List(
}
#if defined(INTRINSIC_REPORTING)
void Device_local_reporting(void)
{
#if defined(INTRINSIC_REPORTING)
struct object_functions *pObject;
uint32_t objects_count;
uint32_t object_instance;
@@ -1515,8 +1515,8 @@ void Device_local_reporting(void)
}
}
}
#endif
}
#endif
/** Looks up the requested Object to see if the functionality is supported.
* @ingroup ObjHelpers
+2
View File
@@ -337,7 +337,9 @@ extern "C" {
bool Device_Write_Property_Local(
BACNET_WRITE_PROPERTY_DATA * wp_data);
#if defined(INTRINSIC_REPORTING)
void Device_local_reporting(void);
#endif
/* Prototypes for Routing functionality in the Device Object.
* Enable by defining BAC_ROUTING in config.h and including gw_device.c