From c2491c86b1bcc322fc5bca5bd66c512c3e443019 Mon Sep 17 00:00:00 2001 From: Carlos Sobrinho Date: Mon, 17 Aug 2020 14:32:08 -0700 Subject: [PATCH] Fix compilation warnings about portmacro being already define. --- .../esp_ble_mesh/common_components/button/include/iot_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h b/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h index 0a8564d683..76333c1001 100644 --- a/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h +++ b/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h @@ -19,7 +19,7 @@ extern "C" { #endif #include "driver/gpio.h" -#include "freertos/portmacro.h" +#include "freertos/FreeRTOS.h" typedef void (* button_cb)(void*); typedef void* button_handle_t;