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
@@ -63,7 +63,7 @@ void handler_who_is(
Send_I_Am(&Handler_Transmit_Buffer[0]);
else if (len != -1) {
/* is my device id within the limits? */
#if BAC_ROUTING
#ifdef BAC_ROUTING
if (((Routed_Device_Object_Instance_Number() >= (uint32_t) low_limit) &&
(Routed_Device_Object_Instance_Number() <= (uint32_t) high_limit))
||
@@ -107,7 +107,7 @@ void handler_who_is_unicast(
Send_I_Am_Unicast(&Handler_Transmit_Buffer[0], src);
else if (len != -1) {
/* is my device id within the limits? */
#if BAC_ROUTING
#ifdef BAC_ROUTING
if (((Routed_Device_Object_Instance_Number() >= (uint32_t) low_limit) &&
(Routed_Device_Object_Instance_Number() <= (uint32_t) high_limit))
||