mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix compilation warnings about portmacro being already define.
This commit is contained in:
parent
8007eb9a31
commit
82bfe2ae5d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user