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
Failed to generate hash of commit
2160 changed files with 2194 additions and 2058 deletions

View file

@ -1,21 +0,0 @@
/*
Copyright 2020 William Ehman
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* RGB Pins */
#define RGBLED_NUM 2

View file

@ -22,6 +22,7 @@
"pin": "B6"
},
"rgblight": {
"led_count": 2,
"max_brightness": 10
},
"processor": "atmega32u4",