Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ninetailedtori committed Dec 2, 2023
1 parent 2e38269 commit 279b047
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions keyboards/toril940/mariviper_v23/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@
#define I2C2_SDA_PIN B14
#define I2C2_SCL_PAL_MODE 5
#define I2C2_SDA_PAL_MODE 5
#define I2C2_TIMINGR_PRESC 0U
#define I2C2_TIMINGR_SCLDEL 3U
#define I2C2_TIMINGR_SDADEL 1U
#define I2C2_TIMINGR_SCLH 3U
#define I2C2_TIMINGR_SCLL 9U

#define IS31FL3731_I2C_ADDRESS_1 0b1110100
#define LED_DRIVER_COUNT 1
#define LED_MATRIX_LED_COUNT 8
#define LED_DRIVER_1_LED_TOTAL 8
#define LED_DRIVER_ADDR_1 0b1110100
#define LED_DRIVER_1_LED_TOTAL 8
5 changes: 4 additions & 1 deletion keyboards/toril940/mariviper_v23/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
#define STM32_I2C_USE_I2C2 TRUE

#undef STM32_I2C_USE_DMA
#define STM32_I2C_USE_DMA FALSE
#define STM32_I2C_USE_DMA TRUE

#define STM32_I2C_I2C2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
#define STM32_I2C_I2C2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)

0 comments on commit 279b047

Please sign in to comment.