mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Component/bt: fix throughput_demo_fail
This commit is contained in:
@@ -611,7 +611,6 @@ void throughput_server_task(void *param)
|
||||
while(1) {
|
||||
#if (CONFIG_GATTS_NOTIFY_THROUGHPUT)
|
||||
if (!can_send_notify) {
|
||||
ESP_LOGI(GATTS_TAG, "===");
|
||||
int res = xSemaphoreTake(gatts_semaphore, portMAX_DELAY);
|
||||
assert(res == pdTRUE);
|
||||
} else {
|
||||
|
@@ -2,3 +2,4 @@
|
||||
# by default in this example
|
||||
CONFIG_BT_ENABLED=y
|
||||
CONFIG_GATTS_NOTIFY_THROUGHPUT=y
|
||||
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=n
|
||||
|
Reference in New Issue
Block a user