Skip to content

Commit b554e4b

Browse files
authored
Change AW20216 SPI Mode from 0 to 3, to fix RGB LEDs on GMMK Pro (#17262)
1 parent 650be92 commit b554e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/led/aw20216.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ bool g_pwm_buffer_update_required[DRIVER_COUNT] = {false};
6363
bool AW20216_write(pin_t cs_pin, uint8_t page, uint8_t reg, uint8_t* data, uint8_t len) {
6464
static uint8_t s_spi_transfer_buffer[2] = {0};
6565

66-
if (!spi_start(cs_pin, false, 0, AW_SPI_DIVISOR)) {
66+
if (!spi_start(cs_pin, false, 3, AW_SPI_DIVISOR)) {
6767
spi_stop();
6868
return false;
6969
}

0 commit comments

Comments
 (0)