Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
johnboiles committed Sep 2, 2024
1 parent 2b30e59 commit c15ff17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/spdif_audio/spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void spdif_init(int rate) {
.sample_rate = sample_rate,
.bits_per_sample = I2S_BITS_PER_SAMPLE,
.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT,
.communication_format = I2S_COMM_FORMAT_I2S,
.communication_format = I2S_COMM_FORMAT_STAND_I2S,
.intr_alloc_flags = 0,
.dma_buf_count = DMA_BUF_COUNT,
.dma_buf_len = DMA_BUF_LEN,
Expand Down

0 comments on commit c15ff17

Please sign in to comment.