Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_NUM 7
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 7,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 8
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 20,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 1
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 1,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 1
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 1,
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user