Clean up ESP32 compile warnings, use audio PLL

Remove a couple compiler warnings found when building for the ESP32.

Enable the high-precision audio PLL as clock source on ESP32.
This commit is contained in:
Earle F. Philhower, III committed 2018-01-18 10:01:32 -08:00
1 parent 03aa2467f0
commit e84123e03d
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -39,7 +39,8 @@ i2s_config_t i2s_config_dac = {
.communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // high interrupt priority
.dma_buf_count = 8,
.dma_buf_len = 64 //Interrupt level 1
.dma_buf_len = 64, //Interrupt level 1
.use_apll = true // Use audio PLL
};
i2s_pin_config_t pin_config_dac = {
+1 -1
View File
@@ -2216,7 +2216,7 @@ void III_imdct_s(mad_fixed_t const X[18], mad_fixed_t z[36])
register mad_fixed64hi_t hi;
register mad_fixed64lo_t lo;
// MAD_F_MLA may produce non-32b aligned reads, so copy from progmem to stack and work from there...
mad_fixed_t const imdct_s_lcl[6][6];
mad_fixed_t imdct_s_lcl[6][6];
memcpy_P(imdct_s_lcl, imdct_s, sizeof(imdct_s));
stack(__FUNCTION__, __FILE__, __LINE__);