Fixed makefile for building the Linux router application. (#585)
* Fixed Makefile for building the Linux router application.
This commit is contained in:
@@ -124,6 +124,9 @@ static void debug_print_bip(const char *str, const BACNET_IP_ADDRESS *addr)
|
||||
(unsigned)addr->address[1], (unsigned)addr->address[2],
|
||||
(unsigned)addr->address[3], (unsigned)addr->port);
|
||||
}
|
||||
#else
|
||||
(void)str;
|
||||
(void)addr;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -138,6 +141,9 @@ static void debug_print_unsigned(const char *str, const unsigned int value)
|
||||
if (BVLC_Debug) {
|
||||
printf("BVLC: %s %u\n", str, value);
|
||||
}
|
||||
#else
|
||||
(void)str;
|
||||
(void)value;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -153,6 +159,10 @@ static void debug_print_npdu(
|
||||
if (BVLC_Debug) {
|
||||
printf("BVLC: %s NPDU=MTU[%u] len=%u\n", str, offset, length);
|
||||
}
|
||||
#else
|
||||
(void)str;
|
||||
(void)offset;
|
||||
(void)length;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -166,6 +176,8 @@ static void debug_print_string(const char *str)
|
||||
if (BVLC_Debug) {
|
||||
printf("BVLC: %s\n", str);
|
||||
}
|
||||
#else
|
||||
(void)str;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -515,6 +527,10 @@ static void bbmd_read_bdt_ack_handler(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void)addr;
|
||||
(void)npdu;
|
||||
(void)npdu_length;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -557,6 +573,10 @@ static void bbmd_read_fdt_ack_handler(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void)addr;
|
||||
(void)npdu;
|
||||
(void)npdu_length;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user