mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
fix missing-prototype compile err
This commit is contained in:
parent
7e23d729e3
commit
ee775e9628
@ -204,7 +204,7 @@ void hfp_emit_event(hfp_callback_t callback, uint8_t event_subtype, uint8_t valu
|
|||||||
(*callback)(event, sizeof(event));
|
(*callback)(event, sizeof(event));
|
||||||
}
|
}
|
||||||
|
|
||||||
void hfp_emit_audio_connection_established_event(hfp_callback_t callback, uint8_t value, uint16_t sco_handle){
|
static void hfp_emit_audio_connection_established_event(hfp_callback_t callback, uint8_t value, uint16_t sco_handle){
|
||||||
if (!callback) return;
|
if (!callback) return;
|
||||||
uint8_t event[6];
|
uint8_t event[6];
|
||||||
event[0] = HCI_EVENT_HFP_META;
|
event[0] = HCI_EVENT_HFP_META;
|
||||||
|
@ -92,7 +92,7 @@ hfp_ag_indicator_t * get_hfp_ag_indicators(hfp_connection_t * context){
|
|||||||
return (hfp_ag_indicator_t *)&(context->ag_indicators);
|
return (hfp_ag_indicator_t *)&(context->ag_indicators);
|
||||||
}
|
}
|
||||||
|
|
||||||
hfp_ag_indicator_t * get_ag_indicator_for_name(hfp_connection_t * context, const char * name){
|
static hfp_ag_indicator_t * get_ag_indicator_for_name(hfp_connection_t * context, const char * name){
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < context->ag_indicators_nr; i++){
|
for (i = 0; i < context->ag_indicators_nr; i++){
|
||||||
if (strcmp(context->ag_indicators[i].name, name) == 0){
|
if (strcmp(context->ag_indicators[i].name, name) == 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user