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

@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 5 // Number of LEDs

View file

@ -13,6 +13,9 @@
{"pin_a": "D0", "pin_b": "D2"}
]
},
"rgblight": {
"led_count": 5
},
"ws2812": {
"pin": "C7"
},