1
0

Move RGBLIGHT_SPLIT to data driven (#21190)

* Move `RGBLIGHT_SPLIT` to data driven

* Remove where `split_count` is already set
This commit is contained in:
Ryan
2023-06-15 22:27:26 +10:00
committed by GitHub
parent c011eb1ead
commit e8ca83a353
73 changed files with 25 additions and 67 deletions

View File

@@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6

View File

@@ -13,6 +13,9 @@
"levels": 5,
"breathing": true
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},

View File

@@ -87,7 +87,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6

View File

@@ -12,6 +12,9 @@
"pin": "B6",
"levels": 5
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},

View File

@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SPLIT
#ifndef IOS_DEVICE_ENABLE
#if RGBLED_NUM <= 6

View File

@@ -12,6 +12,9 @@
"pin": "C6",
"levels": 5
},
"rgblight": {
"split": true
},
"ws2812": {
"pin": "D4"
},