hfp gsm cleanup

This commit is contained in:
Milanka Ringwald 2016-02-11 16:51:24 +01:00
parent 19d39eec25
commit a70c220755
2 changed files with 1 additions and 2 deletions

View File

@ -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){

View File

@ -56,7 +56,6 @@ extern "C" {
/* API_START */
typedef enum{
CALL_NONE,
CALL_INITIATED,
CALL_RESPONSE_HOLD,
CALL_ACTIVE,