Skip to content

Commit 8e88dc1

Browse files
committed
Compile Error for TDM
1 parent fa66ffb commit 8e88dc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ typedef enum {
127127
I2S_LEFT = 1, /*!< set all left format */
128128
I2S_RIGHT = 2, /*!< set all right format */
129129
I2S_DSP = 3, /*!< set dsp/pcm format */
130-
TDM = 4, /*!< set tdm format */
130+
I2S_TDM = 4, /*!< set tdm format */
131131
} i2s_format_t;
132132

133133
/**

src/Driver/cs42448/cs42448.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ class CS42448 {
562562
} else
563563
return false;
564564
return setFormat(fmt);
565-
case TDM:
565+
case I2S_TDM:
566566
return setFormat(Format::TDM);
567567
default:
568568
return false;

0 commit comments

Comments
 (0)