mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-03-01 18:17:43 +01:00
[RPI] Fix Mark1 i2csound detection
This commit is contained in:
parent
3face078ca
commit
6e78f7b4b9
@ -59,11 +59,12 @@ main() {
|
|||||||
detection_results[MARK1]=true
|
detection_results[MARK1]=true
|
||||||
echo "Mark-1 enclosure $MARK1"
|
echo "Mark-1 enclosure $MARK1"
|
||||||
else
|
else
|
||||||
echo "WM8960 based 2-mic $WM8XXX"
|
detection_results[WM8960]=true
|
||||||
|
echo "WM8960 based 2-mic $WM8960"
|
||||||
fi
|
fi
|
||||||
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"
|
echo "Installing and configuring WM8960 based 2-mic HAT"
|
||||||
dtoverlay wm8960-soundcard
|
dtoverlay wm8960-soundcard
|
||||||
echo "Configuring board"
|
echo "Configuring board"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user