summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-05-31 04:47:02 +0000
committerQMK Bot <hello@qmk.fm>2022-05-31 04:47:02 +0000
commitf663f84413c34b239affe08cae96e0d504d2f844 (patch)
treebf704e27124aa67ad938b134eb1edc62036d7717
parent044486500c18871453ac21e8a027117628ecdd51 (diff)
parentb554e4b612d24109ce714554a306043a01382cbd (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--drivers/led/aw20216.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/aw20216.c b/drivers/led/aw20216.c
index 59389cdcd6..448accdcd3 100644
--- 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;
}