qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit b554e4b612d24109ce714554a306043a01382cbd
parent 650be92cf96440920ebf1079c11f2f36c4a9edc1
Author: trwnh <a@trwnh.com>
Date:   Mon, 30 May 2022 23:46:21 -0500

Change AW20216 SPI Mode from 0 to 3, to fix RGB LEDs on GMMK Pro (#17262)


Diffstat:
Mdrivers/led/aw20216.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/led/aw20216.c b/drivers/led/aw20216.c @@ -63,7 +63,7 @@ bool g_pwm_buffer_update_required[DRIVER_COUNT] = {false}; bool AW20216_write(pin_t cs_pin, uint8_t page, uint8_t reg, uint8_t* data, uint8_t len) { static uint8_t s_spi_transfer_buffer[2] = {0}; - if (!spi_start(cs_pin, false, 0, AW_SPI_DIVISOR)) { + if (!spi_start(cs_pin, false, 3, AW_SPI_DIVISOR)) { spi_stop(); return false; }