This commit is contained in:
Philippe G
2022-01-04 21:55:35 -08:00
parent 0127428a15
commit 28ac503ef7
3 changed files with 2 additions and 3 deletions

View File

@@ -303,7 +303,7 @@ esp_err_t i2s_set_clk(i2s_port_t i2s_num, uint32_t rate, i2s_bits_per_sample_t b
double denom = (double)1 / 64;
int channel = 2;
i2s_dma_t *save_tx = NULL, *save_rx = NULL;
ESP_LOGW(I2S_TAG, "THIS IS US IN I2S !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
I2S_CHECK((i2s_num < I2S_NUM_MAX), "i2s_num error", ESP_ERR_INVALID_ARG);
if (bits % 8 != 0 || bits > I2S_BITS_PER_SAMPLE_32BIT || bits < I2S_BITS_PER_SAMPLE_16BIT) {

View File

@@ -54,7 +54,7 @@ bool GDS_SPIAttachDevice( struct GDS_Device* Device, int Width, int Height, int
SPIDeviceConfig.cs_ena_pretrans = Device->CS_pre;
SPIDeviceConfig.cs_ena_posttrans = Device->CS_post;
SPIDeviceConfig.mode = Device->SPI_mode;
ESP_ERROR_CHECK_NONFATAL( spi_bus_add_device( SPIHost, &SPIDeviceConfig, &SPIDevice ), return false );
Device->WriteCommand = SPIDefaultWriteCommand;

View File

@@ -452,7 +452,6 @@ static void handle_connect_state_unconnected(uint16_t event, esp_a2d_cb_param_t
{
case ESP_A2D_CONNECTION_STATE_DISCONNECTED:
unexpected_connection_state(bt_app_source_a2d_state, param->conn_stat.state);
set_app_source_state(APP_AV_STATE_UNCONNECTED);
break;
case ESP_A2D_CONNECTION_STATE_CONNECTING:
unexpected_connection_state(bt_app_source_a2d_state, param->conn_stat.state);