Skip to content

Commit

Permalink
fix(i2s): remove invalid regs on esp32s2
Browse files Browse the repository at this point in the history
  • Loading branch information
L-KAYA committed May 31, 2024
1 parent a58d1fb commit 5312542
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/bus/i2s_lcd_esp32s2_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,13 @@ static esp_err_t i2s_lcd_reg_config(i2s_dev_t *i2s_dev, uint16_t data_width, uin
i2s_dev->conf.tx_msb_right = 1;
i2s_dev->conf.tx_dma_equal = 1;

i2s_dev->conf1.tx_pcm_bypass = 1;
i2s_dev->conf1.tx_stop_en = 1;

i2s_dev->fifo_conf.val = 0;
i2s_dev->fifo_conf.dscr_en = 1;
i2s_dev->fifo_conf.tx_fifo_mod_force_en = 1;
i2s_dev->fifo_conf.tx_data_num = 32;
i2s_dev->fifo_conf.tx_fifo_mod = 2;
i2s_dev->fifo_conf.tx_24msb_en = 0;

i2s_dev->conf_chan.tx_chan_mod = 0;//remove
i2s_dev->int_ena.out_eof = 1;
Expand Down

0 comments on commit 5312542

Please sign in to comment.