Clean ESP32 build (#529)
This commit is contained in:
1 parent
9384bb0f3d
commit
be8b8efbf2
2 files changed
+8
-4
No files matched your search
@@ -201,7 +201,11 @@ bool AudioOutputI2S::begin(bool txDAC)
|
||||
}
|
||||
else if (lsb_justified)
|
||||
{
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
||||
comm_fmt = (i2s_comm_format_t) I2S_COMM_FORMAT_STAND_MSB;
|
||||
#else
|
||||
comm_fmt = (i2s_comm_format_t) (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_LSB);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user