From b1783db4eacacaf8181cfbce13146db1941486ba Mon Sep 17 00:00:00 2001
From: Ryan <fauxpark@gmail.com>
Date: Sun, 18 Jun 2023 14:39:07 +1000
Subject: Move `RGBLED_NUM` to data driven (#21278)

---
 keyboards/alf/x11/config.h  | 1 -
 keyboards/alf/x11/info.json | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

(limited to 'keyboards/alf/x11')

diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h
index b828f65b6c..1b60bb4dcf 100644
--- a/keyboards/alf/x11/config.h
+++ b/keyboards/alf/x11/config.h
@@ -17,7 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #pragma once
 
-  #define RGBLED_NUM 28
   #define RGBLIGHT_HUE_STEP 8
   #define RGBLIGHT_SAT_STEP 8
   #define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json
index 0de3436770..b25c832847 100644
--- a/keyboards/alf/x11/info.json
+++ b/keyboards/alf/x11/info.json
@@ -18,6 +18,7 @@
     "breathing": true
   },
   "rgblight": {
+    "led_count": 28,
     "sleep": true
   },
   "ws2812": {
-- 
cgit v1.2.3