Explorar o código

Fix compilation warnings about portmacro being already define.

Carlos Sobrinho %!s(int64=5) %!d(string=hai) anos
pai
achega
5725cb9342

+ 1 - 1
examples/bluetooth/esp_ble_mesh/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;