move display init code to board (#109)

This commit is contained in:
Xiaoxia
2025-01-25 15:17:37 +08:00
committed by GitHub
parent e48370ffcd
commit d2cc2e0090
10 changed files with 137 additions and 427 deletions

View File

@@ -144,7 +144,7 @@ void Es8311AudioCodec::EnableInput(bool enable) {
.bits_per_sample = 16,
.channel = 1,
.channel_mask = 0,
.sample_rate = (uint32_t)output_sample_rate_,
.sample_rate = (uint32_t)input_sample_rate_,
.mclk_multiple = 0,
};
ESP_ERROR_CHECK(esp_codec_dev_open(input_dev_, &fs));