Not writing dtoverlay=seeed-*mic-voicecard to /boot/config.txt
It is easier for debugging, and easier for switching cards around, too.
This commit is contained in:
parent
fdd67ea2c4
commit
eab694c170
1 changed files with 2 additions and 2 deletions
|
@ -130,10 +130,10 @@ if [ "$overlay" ]; then
|
|||
if [[ "$kernel_ver" =~ ^4\.19.*$ || "$kernel_ver" =~ ^5\.*$ ]]; then
|
||||
for i in $RPI_HATS; do
|
||||
if [ "$i" == "$overlay" ]; then
|
||||
do_overlay $overlay 0
|
||||
/bin/true #do_overlay $overlay 0
|
||||
else
|
||||
echo Uninstall $i ...
|
||||
do_overlay $i 1
|
||||
/bin/true #do_overlay $i 1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue