mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
minor bug fixes for releasing bluedroid task events and deleting message queue
This commit is contained in:
parent
1c877be609
commit
833eb88679
@ -242,8 +242,8 @@ static void hci_host_thread_handler(void *arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
osi_free(e);
|
||||||
}
|
}
|
||||||
osi_free(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -324,8 +324,8 @@ static void btu_task_thread_handler(void *arg)
|
|||||||
fixed_queue_process(btu_oneshot_alarm_queue);
|
fixed_queue_process(btu_oneshot_alarm_queue);
|
||||||
fixed_queue_process(btu_l2cap_alarm_queue);
|
fixed_queue_process(btu_l2cap_alarm_queue);
|
||||||
}
|
}
|
||||||
|
osi_free(e);
|
||||||
}
|
}
|
||||||
osi_free(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,12 +65,12 @@ static void bt_app_task_handler(void *arg)
|
|||||||
fixed_queue_process(bta_app_msg_queue);
|
fixed_queue_process(bta_app_msg_queue);
|
||||||
fixed_queue_process(bt_app_general_alarm_queue);
|
fixed_queue_process(bt_app_general_alarm_queue);
|
||||||
}else if(e->sig == BUTTON_PRESS_EVT){
|
}else if(e->sig == BUTTON_PRESS_EVT){
|
||||||
LOG_ERROR("button_press_event come in,button_value=%x\n",e->par);
|
LOG_ERROR("button_press_event come in,button_value=%x\n",e->par);
|
||||||
button_msg[1] = e->par;
|
button_msg[1] = e->par;
|
||||||
button_msg_notify(2,button_msg);
|
button_msg_notify(2,button_msg);
|
||||||
}
|
}
|
||||||
|
osi_free(e);
|
||||||
}
|
}
|
||||||
osi_free(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -201,7 +201,7 @@ static void bt_app_task_shut_down(void)
|
|||||||
fixed_queue_unregister_dequeue(bt_app_general_alarm_queue);
|
fixed_queue_unregister_dequeue(bt_app_general_alarm_queue);
|
||||||
|
|
||||||
vTaskDelete(xBtaApp1TaskHandle);
|
vTaskDelete(xBtaApp1TaskHandle);
|
||||||
vTaskDelete(xBtaApp1Queue);
|
vQueueDelete(xBtaApp1Queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user