Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 4
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"levels": 7
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
||||
# define RGBLED_NUM 11
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
@@ -35,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# define RGBLIGHT_EFFECT_TWINKLE
|
||||
// RGB Matrix
|
||||
# ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
# define RGB_MATRIX_LED_COUNT 11
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 11,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
Reference in New Issue
Block a user