forked from espressif/arduino-esp32
Fixed shitty arduino compile with newer idf
This commit is contained in:
@ -21,7 +21,11 @@
|
|||||||
#include "esp8266-compat.h"
|
#include "esp8266-compat.h"
|
||||||
#include "soc/gpio_reg.h"
|
#include "soc/gpio_reg.h"
|
||||||
#include "soc/rmt_struct.h"
|
#include "soc/rmt_struct.h"
|
||||||
|
#ifdef OLD_IDF
|
||||||
#include "esp_private/periph_ctrl.h"
|
#include "esp_private/periph_ctrl.h"
|
||||||
|
#else
|
||||||
|
#include "driver/periph_ctrl.h"
|
||||||
|
#endif
|
||||||
#include "esp_intr_alloc.h"
|
#include "esp_intr_alloc.h"
|
||||||
#include "hal/rmt_ll.h"
|
#include "hal/rmt_ll.h"
|
||||||
#include "driver/rmt.h"
|
#include "driver/rmt.h"
|
||||||
|
Reference in New Issue
Block a user