summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/rp2040/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/rp2040/config.h')
-rw-r--r--keyboards/handwired/onekey/rp2040/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/rp2040/config.h b/keyboards/handwired/onekey/rp2040/config.h
index bcf4047a4f..82c5592dc9 100644
--- a/keyboards/handwired/onekey/rp2040/config.h
+++ b/keyboards/handwired/onekey/rp2040/config.h
@@ -13,3 +13,6 @@
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
+
+#define BACKLIGHT_PWM_DRIVER PWMD4
+#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B