Skip to content

Commit 986b40a

Browse files
authored
fix(hal_gpio): lets pins_arduino.h to use stdint and stdbool types
1 parent e1d5d4e commit 986b40a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: cores/esp32/esp32-hal-gpio.h

+4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
extern "C" {
2525
#endif
2626

27+
// include basic types for being used by pins_arduino.h
28+
#include <stdbool.h>
29+
#include <stdint.h>
2730
#include "pins_arduino.h"
31+
2832
#include "esp32-hal.h"
2933
#include "soc/soc_caps.h"
3034
#include "driver/gpio.h"

0 commit comments

Comments
 (0)