Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -40,10 +40,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 12
#endif
#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 2
#define BACKLIGHT_BREAHTING
#endif
#define DIODE_DIRECTION COL2ROW

View File

@@ -9,6 +9,9 @@
"device_version": "0.0.2"
},
"backlight": {
"pin": "B6",
"levels": 2,
"breathing": true,
"breathing_period": 3
},
"indicators": {