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/macroboard | |
parent | efe520645ec8b67d306eb63f54b0a52380269596 (diff) |
[Core] Adjust PWM hardware audio driver for RP2040 (#17723)
Diffstat (limited to 'keyboards/handwired/macroboard')
-rw-r--r-- | keyboards/handwired/macroboard/f411/config.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/macroboard/halconf.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/macroboard/mcuconf.h | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/keyboards/handwired/macroboard/f411/config.h b/keyboards/handwired/macroboard/f411/config.h index 31cb5fa11b..03fd00d182 100644 --- a/keyboards/handwired/macroboard/f411/config.h +++ b/keyboards/handwired/macroboard/f411/config.h @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define AUDIO_PWM_DRIVER PWMD2 #define AUDIO_PWM_CHANNEL 3 #define AUDIO_PWM_PAL_MODE 1 -#define AUDIO_STATE_TIMER GPTD1 #define AUDIO_CLICKY #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f diff --git a/keyboards/handwired/macroboard/halconf.h b/keyboards/handwired/macroboard/halconf.h index 06585c9d5e..02e11e8144 100644 --- a/keyboards/handwired/macroboard/halconf.h +++ b/keyboards/handwired/macroboard/halconf.h @@ -23,6 +23,5 @@ #pragma once #define HAL_USE_PWM TRUE -#define HAL_USE_GPT TRUE #include_next <halconf.h> diff --git a/keyboards/handwired/macroboard/mcuconf.h b/keyboards/handwired/macroboard/mcuconf.h index 5b190d7ec2..e62fb3341e 100644 --- a/keyboards/handwired/macroboard/mcuconf.h +++ b/keyboards/handwired/macroboard/mcuconf.h @@ -23,8 +23,5 @@ #undef STM32_PWM_USE_TIM4 #define STM32_PWM_USE_TIM4 TRUE -#undef STM32_GPT_USE_TIM1 -#define STM32_GPT_USE_TIM1 TRUE - #undef STM32_ST_USE_TIMER #define STM32_ST_USE_TIMER 5 |