compile_gatt: fix parsing of CHARACTERISTIC_USER_DESCRIPTION, issue #23

This commit is contained in:
Matthias Ringwald 2018-05-28 21:58:43 +02:00
parent 425c3bbdae
commit b7647eb604

View File

@ -521,7 +521,7 @@ def parseCharacteristicUserDescription(fout, parts):
size = 2 + 2 + 2 + 2
if is_string(value):
size = size + len(value) - 2
size = size + len(value)
else:
size = size + len(value.split())