From aa32d0067ea25b562d9e3f2f77c06635ebb14293 Mon Sep 17 00:00:00 2001 From: Thomas Friedrichsmeier Date: Mon, 1 Jan 2024 22:31:26 +0100 Subject: [PATCH] Fix mixup of PDM and PWM --- internal/config_checks_rp2040.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/config_checks_rp2040.h b/internal/config_checks_rp2040.h index 493c808f2..467f9948b 100644 --- a/internal/config_checks_rp2040.h +++ b/internal/config_checks_rp2040.h @@ -20,12 +20,12 @@ * The following audio modes (see @ref MOZZI_AUDIO_MODE) are currently supported on this hardware: * - MOZZI_OUTPUT_EXTERNAL_TIMED * - MOZZI_OUTPUT_EXTERNAL_CUSTOM - * - MOZZI_OUTPUT_PDM + * - MOZZI_OUTPUT_PWM * - MOZZI_OUTPUT_I2S_DAC * - * The default mode is @ref rp2040_pdm . + * The default mode is @ref rp2040_pwm . * - * @section rp2040_pdm MOZZI_OUTPUT_PDM + * @section rp2040_pdm MOZZI_OUTPUT_PWM * Audio output is written to pin 0 (mono) or 0 and 1 (stereo), by default, with 11 bits of ouput resolution. * One hardware timer interrupt and one DMA channel are claimed (number not hardcoded), a non-exclusive handler is installed on DMA_IRQ_0. *