We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15bce42 commit ddf3291Copy full SHA for ddf3291
drivers/pinctrl/pinctrl_esp32.c
@@ -5,6 +5,7 @@
5
*/
6
7
/* Include esp-idf headers first to avoid redefining BIT() macro */
8
+#include <stddef.h>
9
#include <hal/gpio_ll.h>
10
#include <hal/rtc_io_hal.h>
11
@@ -23,8 +24,8 @@
23
24
#define in in.data
25
#define out_w1ts out_w1ts.val
26
#define out_w1tc out_w1tc.val
-#elif CONFIG_SOC_SERIES_ESP32C6
27
-/* gpio structs in esp32c6 are also different */
+#elif defined(CONFIG_SOC_SERIES_ESP32C6) || defined(CONFIG_SOC_SERIES_ESP32H2)
28
+/* gpio structs in esp32c6/h2 are also different */
29
#define out out.out_data_orig
30
#define in in.in_data_next
31
0 commit comments