Skip to content

Commit 0ba5d3e

Browse files
committed
IDF as component
1 parent a7d9b5a commit 0ba5d3e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/AudioConfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ typedef WiFiClient WiFiClientSecure;
4646
// E.g when using the Espressif IDF. Use cmake for the necesseary defines
4747
#elif defined(ESP32_CMAKE)
4848
# define ESP32
49-
# include "AudioTools/CoreAudio/AudioRuntime.h"
5049
# include "AudioTools/AudioLibs/Desktop/NoArduino.h"
5150
#else
5251
# include "AudioTools/AudioLibs/Desktop/NoArduino.h"

src/AudioTools/CoreAudio/AudioRuntime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "AudioConfig.h"
44

55

6-
#if defined(ESP32_CMAKE)
6+
#if defined(ESP32_CMAKE) && !defined(ARDUINO)
77
#include "freertos/FreeRTOS.h"
88
#include "freertos/task.h"
99
// delay and millis is needed by this framework

0 commit comments

Comments
 (0)