1
0
Fork 0

Move backlight config to data driven, part 1 (#19887)

This commit is contained in:
Ryan 2023-02-21 12:05:40 +11:00 committed by GitHub
parent 4b69225c22
commit 9c0ce80d7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
128 changed files with 110 additions and 131 deletions

View file

@ -2,11 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// Limit the backlight brightness
#ifndef BACKLIGHT_LIMIT_VAL
# define BACKLIGHT_LIMIT_VAL 144
#endif // BACKLIGHT_LIMIT_VAL
// Split configuration
#define SPLIT_HAND_PIN B11
#ifdef USE_PLUG_DETECT_PIN

View file

@ -2,6 +2,9 @@
"usb": {
"device_version": "1.0.0"
},
"backlight": {
"max_brightness": 144
},
"split": {
"soft_serial_pin": "B9",
"usb_detect": {

View file

@ -2,11 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// Limit the backlight brightness
#ifndef BACKLIGHT_LIMIT_VAL
# define BACKLIGHT_LIMIT_VAL 144
#endif // BACKLIGHT_LIMIT_VAL
// Split configuration
#define SPLIT_HAND_PIN B9
#define USB_VBUS_PIN B12

View file

@ -2,6 +2,9 @@
"usb": {
"device_version": "2.0.0"
},
"backlight": {
"max_brightness": 144
},
"split": {
"usb_detect": {
"enabled": false