Skip to content

Commit 32eb1f1

Browse files
committed
Extend logging to rp2040
1 parent 096f609 commit 32eb1f1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ConsoleLogger.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#define LOG(...) ESP_LOGD("ESP_VS1053", __VA_ARGS__)
2323
#elif defined(ARDUINO_ARCH_ESP8266) && defined(DEBUG_ESP_PORT)
2424
#define LOG(...) DEBUG_ESP_PORT.printf(__VA_ARGS__)
25+
#elif defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT) && defined(DEBUG_VS1053)
26+
#define LOG(...) DEBUG_RP2040_PORT.printf(__VA_ARGS__)
2527
#else
2628
#define LOG(...)
2729
#endif

0 commit comments

Comments
 (0)