Skip to content

Commit c7cb4e3

Browse files
authored
Remove duplicate Arduino.h import from esp32c6 dma_parallel_io.cpp
The esp32c6 DMA Parallel IO implementation includes Arduino.h in the second line, and then later on, with the correct ifdef-gates. This removes that first line because it causes issues when building with esp-idf also for other targets.
1 parent 99131ab commit c7cb4e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platforms/esp32c6/dma_parallel_io.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "dma_parallel_io.hpp"
2-
#include <Arduino.h>
32

43
#ifdef CONFIG_IDF_TARGET_ESP32C6
54

@@ -369,4 +368,4 @@ void Bus_Parallel16::flip_dma_output_buffer(int back_buffer_id)
369368

370369
} // end flip
371370

372-
#endif
371+
#endif

0 commit comments

Comments
 (0)