From eacbc00bb3625d69537876a6a256abd4ee033af3 Mon Sep 17 00:00:00 2001 From: Roshan Bangar Date: Tue, 13 Jun 2023 18:34:23 +0530 Subject: [PATCH] Introduced delay to avoid watchdog timer in throughput app --- .../nimble/throughput_app/bleprph_throughput/main/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/main.c b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/main.c index 9c78b77268..3542f0e3f1 100644 --- a/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/main.c +++ b/examples/bluetooth/nimble/throughput_app/bleprph_throughput/main/main.c @@ -210,6 +210,7 @@ notify_task(void *arg) ESP_LOGE(tag, "Not enough OS_MBUFs available; reduce notify count "); xSemaphoreGive(notify_sem); notify_count -= 1; + vTaskDelay(10 / portTICK_PERIOD_MS); } end_time = esp_timer_get_time();