To build the Routing demo define BAC_ROUTING in the top Makefile. The value is not important - the symbol has to be defined.

This commit is contained in:
bacpack
2010-11-25 05:10:01 +00:00
parent 6a523e4d23
commit 47ecaeabaa
9 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -353,7 +353,7 @@ uint32_t Device_Index_To_Instance(
uint32_t Device_Object_Instance_Number(
void)
{
#if BAC_ROUTING
#ifdef BAC_ROUTING
return Routed_Device_Object_Instance_Number();
#else
return Object_Instance_Number;
@@ -1380,7 +1380,7 @@ bool DeviceGetRRInfo(
}
#if BAC_ROUTING
#ifdef BAC_ROUTING
/****************************************************************************
************* BACnet Routing Functionality (Optional) **********************
****************************************************************************
+1 -1
View File
@@ -78,7 +78,7 @@ bool Routed_Device_Write_Property_Local(
BACNET_WRITE_PROPERTY_DATA * wp_data);
#if !BAC_ROUTING
#if !defined(BAC_ROUTING)
#warning This file should not be included in the build unless BAC_ROUTING is enabled.
#endif