From 6e78f7b4b90b5a81bbe2e4fc7b0768a6ddc25137 Mon Sep 17 00:00:00 2001 From: j1nx Date: Fri, 29 Dec 2023 16:07:36 +0000 Subject: [PATCH] [RPI] Fix Mark1 i2csound detection --- .../raspberrypi/rootfs-overlay/usr/libexec/ovos-i2csound | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/libexec/ovos-i2csound b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/libexec/ovos-i2csound index 53543699..02a18b7f 100755 --- a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/libexec/ovos-i2csound +++ b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/libexec/ovos-i2csound @@ -59,11 +59,12 @@ main() { detection_results[MARK1]=true echo "Mark-1 enclosure $MARK1" else - echo "WM8960 based 2-mic $WM8XXX" + detection_results[WM8960]=true + echo "WM8960 based 2-mic $WM8960" fi fi - if [[ ${detection_results[WM8XXX]} == true ]] && [[ ${detection_results[RESPEAKER4]} == false ]] ; then + if [[ ${detection_results[WM8960]} == true ]] && [[ ${detection_results[RESPEAKER4]} == false ]] ; then echo "Installing and configuring WM8960 based 2-mic HAT" dtoverlay wm8960-soundcard echo "Configuring board"