From 79010067539ad2043bd41e9701aa1cde21aec5d1 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 6 Apr 2020 21:10:30 +0100 Subject: Refactor cannonkeys f103 boards to use core backlight (#8089) * Refactor to use core backlight * Remove custom implementation --- keyboards/cannonkeys/ortho48/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/cannonkeys/ortho48/config.h') diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index 094be01388..bab0b95c06 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h @@ -33,6 +33,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, C13, A2, A1 } #define DIODE_DIRECTION COL2ROW +#define BACKLIGHT_PIN A8 +#define BACKLIGHT_PWM_DRIVER PWMD1 +#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING #define BREATHING_PERIOD 6 @@ -57,8 +60,6 @@ along with this program. If not, see . #define WS2812_SPI SPID2 - - /* * Feature disable options * These options are also useful to firmware size reduction. -- cgit v1.2.1