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 4612332 commit e188117Copy full SHA for e188117
hw/bsp/esp32s2/boards/esp32s2.c
@@ -33,7 +33,12 @@
33
#include "soc/usb_periph.h"
34
35
#include "driver/rmt.h"
36
-#include "esp_private/periph_ctrl.h"
+
37
+#if ESP_IDF_VERSION_MAJOR > 4
38
+ #include "esp_private/periph_ctrl.h"
39
+#else
40
+ #include "driver/periph_ctrl.h"
41
+#endif
42
43
#ifdef NEOPIXEL_PIN
44
#include "led_strip.h"
hw/bsp/esp32s3/boards/esp32s3.c
0 commit comments