mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 20:37:19 +00:00
btstack_ltv_builder: set len for empty tag to 1
This commit is contained in:
parent
14a4e73a0c
commit
f3a6ba06ac
@ -73,7 +73,7 @@ void btstack_ltv_builder_add_tag(btstack_ltv_builder_context_t * context, uint8_
|
||||
// track len field position
|
||||
context->len_pos = context->write_pos;
|
||||
// add empty tag
|
||||
context->buffer[context->write_pos++] = 0;
|
||||
context->buffer[context->write_pos++] = 1;
|
||||
context->buffer[context->write_pos++] = tag;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user