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/yanghu | |
parent | efe520645ec8b67d306eb63f54b0a52380269596 (diff) |
[Core] Adjust PWM hardware audio driver for RP2040 (#17723)
Diffstat (limited to 'keyboards/yanghu')
-rw-r--r-- | keyboards/yanghu/unicorne/config.h | 1 | ||||
-rw-r--r-- | keyboards/yanghu/unicorne/f411/halconf.h | 3 | ||||
-rw-r--r-- | keyboards/yanghu/unicorne/f411/mcuconf.h | 3 |
3 files changed, 0 insertions, 7 deletions
diff --git a/keyboards/yanghu/unicorne/config.h b/keyboards/yanghu/unicorne/config.h index 285f3209aa..4279f955a9 100644 --- a/keyboards/yanghu/unicorne/config.h +++ b/keyboards/yanghu/unicorne/config.h @@ -46,7 +46,6 @@ #define AUDIO_PWM_PAL_MODE 1 #define AUDIO_PWM_DRIVER PWMD1 #define AUDIO_PWM_CHANNEL 1 -#define AUDIO_STATE_TIMER GPTD4 /* RGB LED */ #define RGB_DI_PIN B1 diff --git a/keyboards/yanghu/unicorne/f411/halconf.h b/keyboards/yanghu/unicorne/f411/halconf.h index d28ae12fde..04fa5f6994 100644 --- a/keyboards/yanghu/unicorne/f411/halconf.h +++ b/keyboards/yanghu/unicorne/f411/halconf.h @@ -18,9 +18,6 @@ /* PWM for AUDIO and RGB LED */ #define HAL_USE_PWM TRUE -/* GPT and PAL for Audio */ -#define HAL_USE_GPT TRUE -#define HAL_USE_PAL TRUE /* I2C for OLED display */ #define HAL_USE_I2C TRUE diff --git a/keyboards/yanghu/unicorne/f411/mcuconf.h b/keyboards/yanghu/unicorne/f411/mcuconf.h index f4dc31bff2..c2763caabc 100644 --- a/keyboards/yanghu/unicorne/f411/mcuconf.h +++ b/keyboards/yanghu/unicorne/f411/mcuconf.h @@ -21,9 +21,6 @@ /* TIM1 PWM used for audio driver */ #undef STM32_PWM_USE_TIM1 #define STM32_PWM_USE_TIM1 TRUE -/* TIM5 GPT used for audio driver */ -#undef STM32_GPT_USE_TIM4 -#define STM32_GPT_USE_TIM4 TRUE /* TIM3 used for WS2812 driver */ #undef STM32_PWM_USE_TIM3 |