aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/practice60/config.h
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-04-06 21:10:30 +0100
committerGravatar GitHub <noreply@github.com>2020-04-06 21:10:30 +0100
commit79010067539ad2043bd41e9701aa1cde21aec5d1 (patch)
treebfbabc4845bca90edc94c6ca61e80e1f4af72c27 /keyboards/cannonkeys/practice60/config.h
parent9bfa713421ccd62fe49493b282d02310accf0523 (diff)
downloadqmk_firmware-79010067539ad2043bd41e9701aa1cde21aec5d1.tar.gz
Refactor cannonkeys f103 boards to use core backlight (#8089)
* Refactor to use core backlight * Remove custom implementation
Diffstat (limited to 'keyboards/cannonkeys/practice60/config.h')
-rw-r--r--keyboards/cannonkeys/practice60/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h
index af23eff32..ec16e39b3 100644
--- a/keyboards/cannonkeys/practice60/config.h
+++ b/keyboards/cannonkeys/practice60/config.h
@@ -33,6 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 }
#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