mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
hfp gsm cleanup
This commit is contained in:
parent
19d39eec25
commit
a70c220755
@ -79,12 +79,12 @@ static void set_call_status(int index_in_table, hfp_gsm_call_status_t status){
|
||||
}
|
||||
|
||||
static int get_call_status(int index_in_table){
|
||||
if (!gsm_calls[index_in_table].used_slot) return -1;
|
||||
return gsm_calls[index_in_table].status;
|
||||
}
|
||||
|
||||
static void free_call_slot(int index_in_table){
|
||||
gsm_calls[index_in_table].used_slot = 0;
|
||||
gsm_calls[index_in_table].status = CALL_NONE;
|
||||
}
|
||||
|
||||
void hfp_gsm_init(void){
|
||||
|
@ -56,7 +56,6 @@ extern "C" {
|
||||
/* API_START */
|
||||
|
||||
typedef enum{
|
||||
CALL_NONE,
|
||||
CALL_INITIATED,
|
||||
CALL_RESPONSE_HOLD,
|
||||
CALL_ACTIVE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user