Skip to content

Commit

Permalink
[driver] fix rtwi error setting
Browse files Browse the repository at this point in the history
  • Loading branch information
SamulKyull authored and SamulKyull committed Nov 10, 2024
1 parent 4aa4714 commit 640d4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/100ask-ros/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ sunxi_i2c_t i2c_pmu = {
.gpio_sda = {GPIO_PIN(GPIO_PORTL, 1), GPIO_PERIPH_MUX2},
},
.i2c_clk = {
.gate_reg_base = CCU_BASE + CCU_TWI_BGR_REG,
.gate_reg_base = SUNXI_RTWI_BRG_REG,
.gate_reg_offset = TWI_DEFAULT_CLK_GATE_OFFSET + 0,
.rst_reg_base = CCU_BASE + CCU_TWI_BGR_REG,
.rst_reg_base = SUNXI_RTWI_BRG_REG,
.rst_reg_offset = TWI_DEFAULT_CLK_RST_OFFSET + 0,
.parent_clk = 24000000,
},
Expand Down

0 comments on commit 640d4e2

Please sign in to comment.