[RPI] Fix Mark1 i2csound detection

This commit is contained in:
j1nx 2023-12-29 16:07:36 +00:00
parent 3face078ca
commit 6e78f7b4b9
1 changed files with 3 additions and 2 deletions

View File

@ -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"