From ee533427866cf2facb1509f4410754e1eb50c106 Mon Sep 17 00:00:00 2001 From: zwj Date: Fri, 29 Jan 2021 15:29:18 +0800 Subject: [PATCH] fix throughput example build error --- .../throughput_client/main/example_ble_client_throughput.c | 1 + .../throughput_server/main/example_ble_server_throughput.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/example_ble_client_throughput.c b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/example_ble_client_throughput.c index 603d112f6e..2d02989189 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/example_ble_client_throughput.c +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/example_ble_client_throughput.c @@ -29,6 +29,7 @@ #include "freertos/FreeRTOS.h" #include "freertos/semphr.h" #include "freertos/task.h" +#include "esp_timer.h" /********************************************************** * Thread/Task reference diff --git a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/example_ble_server_throughput.c b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/example_ble_server_throughput.c index dd7ba2cc66..321d241e61 100644 --- a/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/example_ble_server_throughput.c +++ b/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/example_ble_server_throughput.c @@ -29,6 +29,7 @@ #include "esp_bt_defs.h" #include "esp_bt_main.h" #include "esp_gatt_common_api.h" +#include "esp_timer.h" #include "sdkconfig.h"