Skip to content

Commit 6273bea

Browse files
committed
USE_LEGACY_I2S
1 parent bf4e97d commit 6273bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/AudioLibs/SPDIFOutput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class SPDIFOutput : public AudioStream {
194194
i2s_cfg.rx_tx_mode = TX_MODE;
195195
#ifdef ESP32
196196
i2s_cfg.use_apll = true;
197-
# if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0 , 0)
197+
# if USE_LEGACY_I2S
198198
i2s_cfg.fixed_mclk = mclk;
199199
# endif
200200
#endif

0 commit comments

Comments
 (0)