Fixed makefile for building the Linux router application. (#585)

* Fixed Makefile for building the Linux router application.
This commit is contained in:
Steve Karg
2024-02-28 17:08:00 -06:00
committed by GitHub
parent 1176b0d966
commit 5c55683f86
6 changed files with 43 additions and 9 deletions
+20
View File
@@ -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