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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2160 changed files with 2194 additions and 2058 deletions

View file

@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SOFT_SERIAL_PIN D2
#endif
#define RGBLED_NUM 20
#ifdef OLED_ENABLE
# define OLED_DISPLAY_128X64
# define SPLIT_OLED_ENABLE
@ -51,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB matrix support */
#ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM // Number of LEDs
# define RGB_MATRIX_LED_COUNT 20 // Number of LEDs
# define RGB_MATRIX_SPLIT { 10, 10 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
# define RGB_DISABLE_WHEN_USB_SUSPENDED

View file

@ -5,6 +5,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 20,
"split_count": [10, 10]
},
"rgb_matrix": {