Bluetooth: Audio: Shell: Add missing metadata type
In handle_metadata_update the metadata type was never copied, causing it to always be 0. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
5357bd5d0f
commit
0f394c5958
1 changed files with 1 additions and 0 deletions
|
@ -739,6 +739,7 @@ static int handle_metadata_update(const char *meta_str,
|
|||
(void)memcpy(meta[i].value,
|
||||
default_preset->preset.codec.meta[i].data.data,
|
||||
default_preset->preset.codec.meta[i].data.data_len);
|
||||
meta[i].data.type = default_preset->preset.codec.meta[i].data.type;
|
||||
meta[i].data.data_len = default_preset->preset.codec.meta[i].data.data_len;
|
||||
meta[i].data.data = meta[i].value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue