diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2022-10-27 19:26:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 19:26:16 +0200 |
commit | 19145704e4a7a8a7609d697585a6423b67dc5371 (patch) | |
tree | fb690df5c8ee842f5ffc73827c563450594ff35c /keyboards/handwired/onekey/rp2040/config.h | |
parent | efe520645ec8b67d306eb63f54b0a52380269596 (diff) |
[Core] Adjust PWM hardware audio driver for RP2040 (#17723)
Diffstat (limited to 'keyboards/handwired/onekey/rp2040/config.h')
-rw-r--r-- | keyboards/handwired/onekey/rp2040/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/rp2040/config.h b/keyboards/handwired/onekey/rp2040/config.h index 82c5592dc9..d3e7b5c076 100644 --- a/keyboards/handwired/onekey/rp2040/config.h +++ b/keyboards/handwired/onekey/rp2040/config.h @@ -16,3 +16,7 @@ #define BACKLIGHT_PWM_DRIVER PWMD4 #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B + +#define AUDIO_PIN GP16 +#define AUDIO_PWM_DRIVER PWMD0 +#define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_A |