Move backlight config to data driven (#19910)
parent
ba7546a334
commit
314f6c1ddb
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2020
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
/* Backlight */
|
|
||||||
#define BACKLIGHT_BREATHING
|
|
||||||
#define BACKLIGHT_LEVELS 6
|
|
||||||
@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"backlight": {
|
||||||
|
"pin": "D1",
|
||||||
|
"levels": 5,
|
||||||
|
"breathing": true
|
||||||
|
},
|
||||||
"processor": "atmega32u2",
|
"processor": "atmega32u2",
|
||||||
"bootloader": "atmel-dfu"
|
"bootloader": "atmel-dfu"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"backlight": {
|
||||||
|
"pin": "B7",
|
||||||
|
"levels": 5,
|
||||||
|
"breathing": true
|
||||||
|
},
|
||||||
"processor": "atmega32u2",
|
"processor": "atmega32u2",
|
||||||
"bootloader": "atmel-dfu"
|
"bootloader": "atmel-dfu"
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue