mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Merge branch 'bugfix/btdm_fix_the_ble_throuthput_server_crash_bug_gyc' into 'master'
example/ble_throughput fix the throughput server crash bug when running with throughput client Closes BT-421 See merge request espressif/esp-idf!6649
This commit is contained in:
commit
9399dc4fd8
@ -700,7 +700,7 @@ void app_main(void)
|
|||||||
|
|
||||||
xTaskCreate(&throughput_server_task, "throughput_server_task", 4048, NULL, 15, NULL);
|
xTaskCreate(&throughput_server_task, "throughput_server_task", 4048, NULL, 15, NULL);
|
||||||
#if (CONFIG_EXAMPLE_GATTS_NOTIFY_THROUGHPUT)
|
#if (CONFIG_EXAMPLE_GATTS_NOTIFY_THROUGHPUT)
|
||||||
gatts_semaphore = xSemaphoreCreateMutex();
|
gatts_semaphore = xSemaphoreCreateBinary();
|
||||||
if (!gatts_semaphore) {
|
if (!gatts_semaphore) {
|
||||||
ESP_LOGE(GATTS_TAG, "%s, init fail, the gatts semaphore create fail.", __func__);
|
ESP_LOGE(GATTS_TAG, "%s, init fail, the gatts semaphore create fail.", __func__);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user