more esp build fix
This commit is contained in:
@@ -33,7 +33,12 @@
|
|||||||
#include "soc/usb_periph.h"
|
#include "soc/usb_periph.h"
|
||||||
|
|
||||||
#include "driver/rmt.h"
|
#include "driver/rmt.h"
|
||||||
#include "esp_private/periph_ctrl.h"
|
|
||||||
|
#if ESP_IDF_VERSION_MAJOR > 4
|
||||||
|
#include "esp_private/periph_ctrl.h"
|
||||||
|
#else
|
||||||
|
#include "driver/periph_ctrl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NEOPIXEL_PIN
|
#ifdef NEOPIXEL_PIN
|
||||||
#include "led_strip.h"
|
#include "led_strip.h"
|
||||||
|
@@ -33,7 +33,12 @@
|
|||||||
#include "soc/usb_periph.h"
|
#include "soc/usb_periph.h"
|
||||||
|
|
||||||
#include "driver/rmt.h"
|
#include "driver/rmt.h"
|
||||||
#include "esp_private/periph_ctrl.h"
|
|
||||||
|
#if ESP_IDF_VERSION_MAJOR > 4
|
||||||
|
#include "esp_private/periph_ctrl.h"
|
||||||
|
#else
|
||||||
|
#include "driver/periph_ctrl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NEOPIXEL_PIN
|
#ifdef NEOPIXEL_PIN
|
||||||
#include "led_strip.h"
|
#include "led_strip.h"
|
||||||
|
Reference in New Issue
Block a user