summaryrefslogtreecommitdiff
path: root/keyboards/fortitude60/rev1
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/fortitude60/rev1
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/fortitude60/rev1')
-rw-r--r--keyboards/fortitude60/rev1/config.h4
-rw-r--r--keyboards/fortitude60/rev1/info.json3
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h
index d13ea1c845..5dec5df1f1 100644
--- a/keyboards/fortitude60/rev1/config.h
+++ b/keyboards/fortitude60/rev1/config.h
@@ -27,10 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* ws2812 RGB LED */
-#ifdef RGBLIGHT_ENABLE
- #define RGBLED_NUM 18 // Number of LEDs */
-#endif
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/fortitude60/rev1/info.json b/keyboards/fortitude60/rev1/info.json
index 175e621e23..0ae02161cd 100644
--- a/keyboards/fortitude60/rev1/info.json
+++ b/keyboards/fortitude60/rev1/info.json
@@ -17,6 +17,9 @@
"pin": "B5",
"levels": 9
},
+ "rgblight": {
+ "led_count": 18
+ },
"ws2812": {
"pin": "B5"
},