summaryrefslogtreecommitdiff
path: root/keyboards/skyloong/gk61/v1/config.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-04 20:10:05 +1100
committerGitHub <noreply@github.com>2023-10-04 20:10:05 +1100
commitc0f16be50fec33cdb30386ac512efb900f3f7470 (patch)
tree93bb5024f5ff32f81e86d3bf4ea4ff243e239c35 /keyboards/skyloong/gk61/v1/config.h
parent24a795d7a96722239be3a969201200602208aeb2 (diff)
Rename CKLED2001 driver to SNLED27351 (#22071)
Diffstat (limited to 'keyboards/skyloong/gk61/v1/config.h')
-rw-r--r--keyboards/skyloong/gk61/v1/config.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/keyboards/skyloong/gk61/v1/config.h b/keyboards/skyloong/gk61/v1/config.h
index f648bf80d4..153bd8d0eb 100644
--- a/keyboards/skyloong/gk61/v1/config.h
+++ b/keyboards/skyloong/gk61/v1/config.h
@@ -15,22 +15,9 @@
*/
#pragma once
-/*
- * RGB matrix driver config (CKLED2001)
- *
- * This is a 7-bit address, that gets left-shifted and bit 0
- * set to 0 for write, 1 for read (as per I2C protocol)
- * The address will vary depending on your wiring:
- * 00 <-> GND
- * 01 <-> SCL
- * 10 <-> SDA
- * 11 <-> VCC
- * ADDR/CS represents A1:A0 of the 7-bit address.
- * The result is: 0b11101(ADDR/CS)
- */
-#define DRIVER_ADDR_1 0b1110100
+#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
-#define DRIVER_COUNT 1
+#define SNLED27351_DRIVER_COUNT 1
#define RGB_MATRIX_LED_COUNT 64
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS //Enable frame effects