Feature/bacnet time sync override (#215)

* add --time and --date options to command line time sync for override

* remove PRINT_ENABLED compile overreach

* fix bacstr.c for non-PRINT_ENABLED compile

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2022-01-20 16:42:47 -06:00
committed by GitHub
parent 8847d7eea1
commit 9c72572692
6 changed files with 21 additions and 22 deletions
-2
View File
@@ -266,7 +266,6 @@ int bacapp_decode_context_timestamp(
return len;
}
#if PRINT_ENABLED
/**
* @brief Parse an ascii string for the timestamp
* @param btime - #BACNET_TIME structure
@@ -347,7 +346,6 @@ bool bacapp_timestamp_init_ascii(BACNET_TIMESTAMP *timestamp, const char *ascii)
return status;
}
#endif
#ifdef BAC_TEST