Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -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

View File

@@ -30,6 +30,7 @@
"pin": "D0"
},
"rgblight": {
"led_count": 7,
"max_brightness": 200,
"sleep": true
},

View File

@@ -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

View File

@@ -12,6 +12,7 @@
"pin": "E2"
},
"rgblight": {
"led_count": 8,
"max_brightness": 200,
"sleep": true
},

View File

@@ -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

View File

@@ -21,6 +21,7 @@
"pin": "E2"
},
"rgblight": {
"led_count": 20,
"max_brightness": 200,
"sleep": true
},

View File

@@ -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

View File

@@ -21,6 +21,7 @@
"pin": "D2"
},
"rgblight": {
"led_count": 1,
"max_brightness": 200,
"sleep": true
},

View File

@@ -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

View File

@@ -21,6 +21,7 @@
"pin": "D2"
},
"rgblight": {
"led_count": 1,
"max_brightness": 200,
"sleep": true
},