Component/bt: fix throughput_demo_fail

This commit is contained in:
zhiweijian
2018-05-29 20:02:54 +08:00
parent ec0d4bd85f
commit 212b786119
5 changed files with 15 additions and 10 deletions

View File

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

View File

@@ -2,3 +2,4 @@
# by default in this example
CONFIG_BT_ENABLED=y
CONFIG_GATTS_NOTIFY_THROUGHPUT=y
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=n