Skip to content

Commit 77c56b0

Browse files
gmarullclaude
andcommitted
fw/board: use stereo mic capture in all recovery builds
Commit 6ae8c1e ("fw/board: use stereo mic capture in MFG builds") restored stereo PDM capture for the mic test, but only gated it on CONFIG_MFG. The mic test apps live in the recovery firmware and are built for every PRF variant, so a non-MFG PRF still captured mono and hit the same 2x-speed playback and missing second microphone. Gate stereo capture on CONFIG_RECOVERY_FW instead, which MFG builds also define. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
1 parent b137505 commit 77c56b0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/fw/board/boards/board_getafix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,8 @@ static const MicDevice mic_device = {
524524
.pdm_dma_irq = DMAC1_CH5_IRQn,
525525
.pdm_irq = PDM1_IRQn,
526526
.pdm_irq_priority = 5,
527-
#ifdef CONFIG_MFG
528-
// MFG mic test needs stereo capture to verify both microphones
527+
#ifdef CONFIG_RECOVERY_FW
528+
// PRF mic test needs stereo capture to verify both microphones
529529
.channels = 2,
530530
#else
531531
.channels = 1,

src/fw/board/boards/board_obelix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ static const MicDevice mic_device = {
606606
.pdm_dma_irq = DMAC1_CH5_IRQn,
607607
.pdm_irq = PDM1_IRQn,
608608
.pdm_irq_priority = 5,
609-
#ifdef CONFIG_MFG
610-
// MFG mic test needs stereo capture to verify both microphones
609+
#ifdef CONFIG_RECOVERY_FW
610+
// PRF mic test needs stereo capture to verify both microphones
611611
.channels = 2,
612612
#else
613613
.channels = 1,

0 commit comments

Comments
 (0)