mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 19:20:26 +00:00
hfp_ag: skip comma after last status indicator
This commit is contained in:
parent
d0a0eceeda
commit
ae46d66684
@ -323,7 +323,7 @@ static int hfp_hf_indicators_join(char * buffer, int buffer_size){
|
||||
offset += snprintf(buffer+offset, buffer_size-offset, "%d,", hfp_generic_status_indicators[i].uuid);
|
||||
}
|
||||
if (i < hfp_generic_status_indicators_nr){
|
||||
offset += snprintf(buffer+offset, buffer_size-offset, "%d,", hfp_generic_status_indicators[i].uuid);
|
||||
offset += snprintf(buffer+offset, buffer_size-offset, "%d", hfp_generic_status_indicators[i].uuid);
|
||||
}
|
||||
return offset;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user