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,9 +242,9 @@ static void hci_host_thread_handler(void *arg)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
osi_free(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void set_data_queue(fixed_queue_t *queue) {
|
||||
|
@ -324,9 +324,9 @@ static void btu_task_thread_handler(void *arg)
|
||||
fixed_queue_process(btu_oneshot_alarm_queue);
|
||||
fixed_queue_process(btu_l2cap_alarm_queue);
|
||||
}
|
||||
}
|
||||
osi_free(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -68,10 +68,10 @@ static void bt_app_task_handler(void *arg)
|
||||
LOG_ERROR("button_press_event come in,button_value=%x\n",e->par);
|
||||
button_msg[1] = e->par;
|
||||
button_msg_notify(2,button_msg);
|
||||
}
|
||||
}
|
||||
osi_free(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void bt_app_task_post(void)
|
||||
@ -201,7 +201,7 @@ static void bt_app_task_shut_down(void)
|
||||
fixed_queue_unregister_dequeue(bt_app_general_alarm_queue);
|
||||
|
||||
vTaskDelete(xBtaApp1TaskHandle);
|
||||
vTaskDelete(xBtaApp1Queue);
|
||||
vQueueDelete(xBtaApp1Queue);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user