Skip to content

Commit

Permalink
compile error in PlatfomIO
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Jan 1, 2025
1 parent 7c0dde0 commit a65d380
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/AudioTools/CoreAudio/AudioRuntime.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ inline void printNChar(char ch, int n){
Serial.println();
}

#ifndef ESP_ARDUINO_VERSION_STR
# define df2xstr(s) #s
# define df2str(s) df2xstr(s)
# define ESP_ARDUINO_VERSION_STR df2str(ESP_ARDUINO_VERSION_MAJOR) "." df2str(ESP_ARDUINO_VERSION_MINOR) "." df2str(ESP_ARDUINO_VERSION_PATCH)
#endif

/// prints the available version information
inline void printVersionInfo() {
printNChar('*',50);
Expand Down

0 comments on commit a65d380

Please sign in to comment.