From eab694c17050f264b0568f44dee74a54623231de Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Mon, 19 Apr 2021 18:15:57 +0100 Subject: [PATCH] Not writing dtoverlay=seeed-*mic-voicecard to /boot/config.txt It is easier for debugging, and easier for switching cards around, too. --- seeed-voicecard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seeed-voicecard b/seeed-voicecard index 9a135a1..55d6b39 100755 --- a/seeed-voicecard +++ b/seeed-voicecard @@ -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