From 4b4adef54329049ec80c55d2d52997c11c3e3021 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 21 Apr 2022 22:17:56 +0200 Subject: [PATCH] Update ESP32SJA1000.cpp The #include "esp_intr.h" depreciated and should be replaced by #include "esp_intr_alloc.h" --- src/ESP32SJA1000.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ESP32SJA1000.cpp b/src/ESP32SJA1000.cpp index 3c56fba..4e3d371 100644 --- a/src/ESP32SJA1000.cpp +++ b/src/ESP32SJA1000.cpp @@ -3,7 +3,8 @@ #ifdef ARDUINO_ARCH_ESP32 -#include "esp_intr.h" +//. #include "esp_intr.h" +#include "esp_intr_alloc.h" #include "soc/dport_reg.h" #include "driver/gpio.h"