mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
hfp gsm: rename function, call gms init from ag
This commit is contained in:
parent
1c6bfde03b
commit
1335ac5955
@ -1949,6 +1949,8 @@ void hfp_ag_init(uint16_t rfcomm_channel_nr, uint32_t supported_features,
|
||||
hfp_ag_call_state = HFP_CALL_STATUS_NO_HELD_OR_ACTIVE_CALLS;
|
||||
hfp_ag_callsetup_state = HFP_CALLSETUP_STATUS_NO_CALL_SETUP_IN_PROGRESS;
|
||||
hfp_ag_callheld_state = HFP_CALLHELD_STATUS_NO_CALLS_HELD;
|
||||
|
||||
hfp_gsm_init();
|
||||
}
|
||||
|
||||
void hfp_ag_establish_service_level_connection(bd_addr_t bd_addr){
|
||||
|
@ -82,7 +82,7 @@ typedef struct {
|
||||
//
|
||||
static hfp_gsm_call_t gsm_calls[HFP_GSM_MAX_NR_CALLS];
|
||||
|
||||
void hfp_gsm_module_init(void){
|
||||
void hfp_gsm_init(void){
|
||||
memset(gsm_calls, 0, sizeof(gsm_calls));
|
||||
}
|
||||
//
|
||||
|
@ -65,7 +65,7 @@ hfp_callsetup_status_t hfp_gsm_callsetup_status();
|
||||
|
||||
int hfp_gsm_call_possible(void);
|
||||
|
||||
void hfp_gsm_module_init(void);
|
||||
void hfp_gsm_init(void);
|
||||
|
||||
void hfp_gsm_handle_event(hfp_ag_call_event_t event);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user