Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan 2023-06-18 14:39:07 +10:00 committed by GitHub
commit b1783db4ea
Failed to generate hash of commit
2160 changed files with 2194 additions and 2058 deletions

View file

@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 10
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View file

@ -22,6 +22,7 @@
"led": "B0"
},
"rgblight": {
"led_count": 4,
"sleep": true
},
"ws2812": {

View file

@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 4 // Number of LEDs connected
#define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by
#define RGBLIGHT_SAT_STEP 17 // The number of steps to increment the saturation by
#define RGBLIGHT_VAL_STEP 17 // The number of steps to increment the brightness by

View file

@ -12,6 +12,7 @@
"matrix": [1, 0]
},
"rgblight": {
"led_count": 4,
"sleep": true
},
"ws2812": {