Fix compilation warnings about portmacro being already define.

This commit is contained in:
Carlos Sobrinho 2020-08-17 14:32:08 -07:00 committed by bot
parent 80969f5a4c
commit c2491c86b1

View File

@ -19,7 +19,7 @@ extern "C" {
#endif #endif
#include "driver/gpio.h" #include "driver/gpio.h"
#include "freertos/portmacro.h" #include "freertos/FreeRTOS.h"
typedef void (* button_cb)(void*); typedef void (* button_cb)(void*);
typedef void* button_handle_t; typedef void* button_handle_t;