From 720e68112f7e02cf0dde077353c83df872a74f16 Mon Sep 17 00:00:00 2001 From: NikhitaR-IFX Date: Wed, 11 Sep 2024 15:27:58 +0530 Subject: [PATCH] ports/psoc6: Fix no. of hw instances. Signed-off-by: NikhitaR-IFX --- ports/psoc6/machine_pdm_pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/psoc6/machine_pdm_pcm.c b/ports/psoc6/machine_pdm_pcm.c index c16de48d018e..9f7c35fc1cf6 100644 --- a/ports/psoc6/machine_pdm_pcm.c +++ b/ports/psoc6/machine_pdm_pcm.c @@ -38,7 +38,7 @@ #define DEFAULT_LEFT_GAIN 0 #define DEFAULT_RIGHT_GAIN 0 -#define MICROPY_HW_MAX_PDM_PCM 2 +#define MICROPY_HW_MAX_PDM_PCM 1 #define AUDIO_SYS_CLOCK_24_576_000_HZ 24576000u /* (Ideally 24.576 MHz) For sample rates: 8 KHz / 16 KHz / 48 KHz */ #define AUDIO_SYS_CLOCK_22_579_000_HZ 22579000u /* (Ideally 22.579 MHz) For sample rates: 22.05 KHz / 44.1 KHz */