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
-4
View File
@@ -1543,10 +1543,8 @@ bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
#endif
#if defined(BACAPP_OCTET_STRING)
case BACNET_APPLICATION_TAG_OCTET_STRING:
#if PRINT_ENABLED /* Apparently ain't necessarily so. */
status =
octetstring_init_ascii_hex(&value->type.Octet_String, argv);
#endif
break;
#endif
#if defined(BACAPP_CHARACTER_STRING)
@@ -1557,9 +1555,7 @@ bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
#endif
#if defined(BACAPP_BIT_STRING)
case BACNET_APPLICATION_TAG_BIT_STRING:
#if PRINT_ENABLED
status = bitstring_init_ascii(&value->type.Bit_String, argv);
#endif
break;
#endif
#if defined(BACAPP_ENUMERATED)