diff --git a/seeed-voicecard b/seeed-voicecard index eb9519f..2818554 100755 --- a/seeed-voicecard +++ b/seeed-voicecard @@ -28,8 +28,6 @@ modprobe i2c-dev #enable spi interface dtparam spi=on -sleep 1 - is_1a=$(i2cdetect -y 1 0x1a 0x1a | grep 1a | awk '{print $2}') @@ -42,7 +40,6 @@ rm /var/lib/alsa/asound.state if [ "x${is_1a}" == "x1a" ] && [ "x${is_35}" == "x" ] ; then echo "install 2mic" dtoverlay seeed-2mic-voicecard - sleep 1 rm /etc/asound.conf rm /var/lib/alsa/asound.state echo "create 2mic asound configure file" @@ -55,7 +52,6 @@ fi if [ "x${is_3b}" == "x3b" ] && [ "x${is_35}" == "x" ] ; then echo "install 4mic" dtoverlay seeed-4mic-voicecard - sleep 1 rm /etc/asound.conf rm /var/lib/alsa/asound.state echo "create 4mic asound configure file" @@ -68,7 +64,6 @@ fi if [ "x${is_3b}" == "x3b" ] && [ "x${is_35}" == "x35" ] ; then echo "install 6mic" dtoverlay seeed-8mic-voicecard - sleep 1 rm /etc/asound.conf rm /var/lib/alsa/asound.state echo "create 6mic asound configure file"