AR: avoid user confusion between PDM and I2S

"'Generic I2S PDM" -> "'Generic PDM"
unrelated: simplify an ifdef in audio_source.h
This commit is contained in:
Frank
2026-02-24 13:10:01 +01:00
parent ef63a1a500
commit 7627fbd989
2 changed files with 11 additions and 9 deletions

View File

@@ -298,7 +298,7 @@ class I2SSource : public AudioSource {
// S3: not supported; S2: supported; C3: not supported
_config.use_apll = false; // APLL not supported on this MCU
#endif
#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32S3) && !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32C3)
#if defined(CONFIG_IDF_TARGET_ESP32)
if (ESP.getChipRevision() == 0) _config.use_apll = false; // APLL is broken on ESP32 revision 0
#endif
#if defined(WLED_USE_ETHERNET) || defined(WLED_ENABLE_HUB75MATRIX)