mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
fix compile
This commit is contained in:
@@ -116,7 +116,7 @@ IRAM_ATTR void am_onTimer()
|
||||
if (xHigherPriorityTaskWoken)
|
||||
portYIELD_FROM_ISR();
|
||||
}
|
||||
} else if ((radio_state == RadioState::rx) && (!moduleConfig.audio.i2s_din) {
|
||||
} else if ((radio_state == RadioState::rx) && (!moduleConfig.audio.i2s_din)) {
|
||||
// ESP32-S3 does not have DAC support
|
||||
#if !defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
int16_t v;
|
||||
@@ -197,7 +197,7 @@ int32_t AudioModule::runOnce()
|
||||
.sample_rate = 8000,
|
||||
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
|
||||
.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT,
|
||||
.communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
|
||||
.communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_STAND_I2S),
|
||||
.intr_alloc_flags = 0,
|
||||
.dma_buf_count = 8,
|
||||
.dma_buf_len = ADC_BUFFER_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user