Fixed compilation with BACNET_SVC_SERVER=1 for apps. (#552)

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2024-01-03 10:35:03 -06:00
committed by GitHub
parent ead190584c
commit 7f3b82db9a
18 changed files with 72 additions and 5 deletions
+4
View File
@@ -56,6 +56,10 @@
#include "bacnet/datalink/dlenv.h"
#include "bacnet/readrange.h"
#if BACNET_SVC_SERVER
#error "App requires server-only features disabled! Set BACNET_SVC_SERVER=0"
#endif
/* buffer used for receive */
static uint8_t Rx_Buf[MAX_MPDU] = { 0 };