1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-19 23:25:23 +08:00

uevent need bitstring_init_ascii() without PRINT_ENABLED

This commit is contained in:
Patrick Grimm 2017-04-08 22:10:18 +02:00
parent bdb0404c0d
commit 388a9d45b2

View File

@ -230,7 +230,6 @@ bool bitstring_same(
return false; return false;
} }
#if PRINT_ENABLED
/* converts an null terminated ASCII string to an bitstring. /* converts an null terminated ASCII string to an bitstring.
Expects "1,0,1,0,1,1" or "101011" as the bits Expects "1,0,1,0,1,1" or "101011" as the bits
returns true if successfully converted and fits; false if too long */ returns true if successfully converted and fits; false if too long */
@ -275,7 +274,6 @@ bool bitstring_init_ascii(
return status; return status;
} }
#endif
#define CHARACTER_STRING_CAPACITY (MAX_CHARACTER_STRING_BYTES - 1) #define CHARACTER_STRING_CAPACITY (MAX_CHARACTER_STRING_BYTES - 1)
/* returns false if the string exceeds capacity /* returns false if the string exceeds capacity