Skip to content

Commit

Permalink
Merge branch 'contrib/github_pr_365' into 'master'
Browse files Browse the repository at this point in the history
fix(i2s): remove invalid regs on esp32s2 (GitHub PR)

Closes AEGHB-670

See merge request ae_group/esp-iot-solution!1018
  • Loading branch information
leeebo committed Jun 5, 2024
2 parents caa10fb + 5312542 commit 0451414
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 0451414

Please sign in to comment.