chore: remove BACAPP_SNPRINTF_ENABLED macro (#94)

* chore: remove BACAPP_SNPRINTF_ENABLED macro

* feat: add ifdef in bacapp_snprintf_value and bacapp_parse_application_data for each data type so that smaller MCU can compile without

* fix: typos
This commit is contained in:
Carlos Gomes Martinho
2020-06-01 06:42:40 +02:00
committed by GitHub
parent 9137531eb0
commit 9cad803cc8
2 changed files with 50 additions and 5 deletions
-3
View File
@@ -231,17 +231,14 @@ extern "C" {
#ifndef BACAPP_PRINT_ENABLED
#if PRINT_ENABLED || defined BAC_TEST
#define BACAPP_PRINT_ENABLED
#define BACAPP_SNPRINTF_ENABLED
#endif
#endif
#ifdef BACAPP_SNPRINTF_ENABLED
BACNET_STACK_EXPORT
int bacapp_snprintf_value(
char *str,
size_t str_len,
BACNET_OBJECT_PROPERTY_VALUE * object_value);
#endif
#ifdef BACAPP_PRINT_ENABLED
BACNET_STACK_EXPORT