Move RGBLIGHT_LED_MAP to data driven (#21095)
This commit is contained in:
@@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \
|
||||
11, 10, 9, 8, 7, 6 }
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6],
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
|
||||
#define WS2812_PIO_USE_PIO1
|
||||
|
||||
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \
|
||||
11, 10, 9, 8, 7, 6 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12,
|
||||
"led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6],
|
||||
"sleep": true,
|
||||
"split": true,
|
||||
"split_count": [6, 6],
|
||||
|
||||
Reference in New Issue
Block a user