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

@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight */
#define BACKLIGHT_PIN B5 // Timer 1 on mega32u4
#define BACKLIGHT_BREATHING
#define BACKLIGHT_ON_STATE 1

View file

@ -31,5 +31,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_ON_STATE 1
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.

View file

@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight */
#define BACKLIGHT_PIN B7 // Timer 1 on mega32u4
#define BACKLIGHT_BREATHING
#define BACKLIGHT_ON_STATE 1
/* Underglow */
#define RGB_DI_PIN E2

View file

@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 6
#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_ON_STATE 1
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
/* Underglow */