mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
hfp_ag: increase buffer to avoid warning, fixes #523
This commit is contained in:
parent
d2d1d05367
commit
8d860c8fde
@ -206,7 +206,7 @@ static int has_hf_indicators_feature(hfp_connection_t * hfp_connection){
|
||||
/* unsolicited responses */
|
||||
|
||||
static int hfp_ag_send_change_in_band_ring_tone_setting_cmd(hfp_connection_t * hfp_connection){
|
||||
char buffer[20];
|
||||
char buffer[40];
|
||||
snprintf(buffer, sizeof(buffer), "\r\n%s: %d\r\n",
|
||||
HFP_CHANGE_IN_BAND_RING_TONE_SETTING, use_in_band_tone(hfp_connection));
|
||||
buffer[sizeof(buffer) - 1] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user