mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
compile_gatt: fix parsing of CHARACTERISTIC_USER_DESCRIPTION, issue #23
This commit is contained in:
parent
425c3bbdae
commit
b7647eb604
@ -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())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user