Added UTC option to BACnet TimeSync app (#396)

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2023-02-08 13:12:44 -06:00
committed by GitHub
parent d96b29d023
commit e95aed9b93
2 changed files with 39 additions and 2 deletions
+14
View File
@@ -63,6 +63,20 @@ BACNET_DEFINES += -DWEAK_FUNC=
BACNET_DEFINES += $(MAKE_DEFINE)
# Choose a BACnet Ports Directory for the example applications target OS
ifeq (${BACNET_PORT},)
ifeq ($(OS),Windows_NT)
BACNET_PORT = win32
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
BACNET_PORT = linux
endif
ifeq ($(UNAME_S),Darwin)
BACNET_PORT = bsd
endif
endif
endif
# linux, win32, bsd
BACNET_PORT ?= linux