Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -18,5 +18,4 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 4
|
||||
#endif
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x6090",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B0"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 9
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"scroll_lock": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 9,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
Reference in New Issue
Block a user