summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/blackpill_f401/config.h
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-10-04 23:10:24 +0200
committerGitHub <noreply@github.com>2022-10-04 23:10:24 +0200
commit996a9006d3f101dc5c48b58339e2e7323040fd59 (patch)
tree56bb76db42e23e3a1bc343ee7d35ee307e08a0a0 /keyboards/handwired/onekey/blackpill_f401/config.h
parentb6ea8837e4c81f364d30bdc74bf2cdccb2a1a185 (diff)
[Core] PWM Backlight for RP2040 (#17706)
Diffstat (limited to 'keyboards/handwired/onekey/blackpill_f401/config.h')
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f401/config.h b/keyboards/handwired/onekey/blackpill_f401/config.h
index 4e9552480f..05f3f07763 100644
--- a/keyboards/handwired/onekey/blackpill_f401/config.h
+++ b/keyboards/handwired/onekey/blackpill_f401/config.h
@@ -20,6 +20,7 @@
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
+#define BACKLIGHT_PAL_MODE 2
#define ADC_PIN A0