aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-05-10 18:44:41 +0100
committerGitHub <noreply@github.com>2023-05-10 18:44:41 +0100
commit8b6fb5ef23c999080262218dd73c684ded399fbe (patch)
tree012d527e8934427cdd693128b7b0b676acd61b1b /src
parent3a717cd7f087a08d80c812db204cb942170754b2 (diff)
parent8deca4418d60d74732cbaf1db77b9d3d0452a1db (diff)
Merge pull request #450 from abrender/fix-esp-idf
`esp-idf`: Add menuconfig option `ESP32_HUB75_USE_GFX`.
Diffstat (limited to 'src')
-rw-r--r--src/platforms/esp32/esp32_i2s_parallel_dma.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/platforms/esp32/esp32_i2s_parallel_dma.cpp b/src/platforms/esp32/esp32_i2s_parallel_dma.cpp
index 5511d6f..181503c 100644
--- a/src/platforms/esp32/esp32_i2s_parallel_dma.cpp
+++ b/src/platforms/esp32/esp32_i2s_parallel_dma.cpp
@@ -28,7 +28,10 @@ Modified heavily for the ESP32 HUB75 DMA library by:
#include <driver/periph_ctrl.h>
#include <soc/gpio_sig_map.h>
-#include <Arduino.h> // Need to make sure this is uncommented to get ESP_LOG output on (Arduino) Serial output!!!!
+#if defined (ARDUINO_ARCH_ESP32)
+#include <Arduino.h>
+#endif
+
#include <esp_err.h>
#include <esp_log.h>