mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
Fix compilation warnings about portmacro being already define.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user