summaryrefslogtreecommitdiff
path: root/keyboards/redox
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/redox
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/redox')
-rw-r--r--keyboards/redox/rev1/config.h2
-rw-r--r--keyboards/redox/rev1/info.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/redox/rev1/config.h b/keyboards/redox/rev1/config.h
index 56ea22e329..fdda27552d 100644
--- a/keyboards/redox/rev1/config.h
+++ b/keyboards/redox/rev1/config.h
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define RGBLED_NUM 14 // Number of LEDs
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/redox/rev1/info.json b/keyboards/redox/rev1/info.json
index 9e50ca5baa..c0c5ce6e1a 100644
--- a/keyboards/redox/rev1/info.json
+++ b/keyboards/redox/rev1/info.json
@@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
+ "led_count": 14,
"split": true
},
"layouts": {