Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Fix mxconfig.clkphase not being used. #434
This commit is contained in:
parent
ebdf46da19
commit
ab7d98d7cc
1 changed files with 3 additions and 2 deletions
|
@ -267,7 +267,8 @@ void MatrixPanel_I2S_DMA::configureDMA(const HUB75_I2S_CFG &_cfg)
|
|||
auto bus_cfg = dma_bus.config(); // バス設定用の構造体を取得します。
|
||||
|
||||
bus_cfg.bus_freq = m_cfg.i2sspeed;
|
||||
bus_cfg.pin_wr = m_cfg.gpio.clk; // WR を接続しているピン番号
|
||||
bus_cfg.pin_wr = m_cfg.gpio.clk;
|
||||
bus_cfg.invert_pclk = m_cfg.clkphase;
|
||||
|
||||
bus_cfg.pin_d0 = m_cfg.gpio.r1;
|
||||
bus_cfg.pin_d1 = m_cfg.gpio.g1;
|
||||
|
|
Loading…
Reference in a new issue