Fix compilation warnings about portmacro being already define.
This commit is contained in:
parent
b2b47b4465
commit
5725cb9342
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue