Skip to content

Commit

Permalink
AudioLogger: support for multiple compilation units
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Jan 7, 2025
1 parent d1409b2 commit f3aeb43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AudioTools/CoreAudio/AudioLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
namespace audio_tools {

#if defined(ESP32)
MutexRTOS audio_logger_mutex;
static MutexRTOS audio_logger_mutex;
#elif defined(RP2040)
MutexRP2040 audio_logger_mutex;
static MutexRP2040 audio_logger_mutex;
#else
MutexBase audio_logger_mutex; // no locking
static MutexBase audio_logger_mutex; // no locking
#endif

/**
Expand Down

0 comments on commit f3aeb43

Please sign in to comment.