Skip to content

Commit

Permalink
IDF as component
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Dec 28, 2024
1 parent a7d9b5a commit 0ba5d3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/AudioConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ typedef WiFiClient WiFiClientSecure;
// E.g when using the Espressif IDF. Use cmake for the necesseary defines
#elif defined(ESP32_CMAKE)
# define ESP32
# include "AudioTools/CoreAudio/AudioRuntime.h"
# include "AudioTools/AudioLibs/Desktop/NoArduino.h"
#else
# include "AudioTools/AudioLibs/Desktop/NoArduino.h"
Expand Down
2 changes: 1 addition & 1 deletion src/AudioTools/CoreAudio/AudioRuntime.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "AudioConfig.h"


#if defined(ESP32_CMAKE)
#if defined(ESP32_CMAKE) && !defined(ARDUINO)
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
// delay and millis is needed by this framework
Expand Down

0 comments on commit 0ba5d3e

Please sign in to comment.