File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ modprobe i2c-dev
28
28
29
29
# enable spi interface
30
30
dtparam spi=on
31
- sleep 1
32
-
33
31
34
32
35
33
is_1a=$( i2cdetect -y 1 0x1a 0x1a | grep 1a | awk ' {print $2}' )
@@ -42,7 +40,6 @@ rm /var/lib/alsa/asound.state
42
40
if [ " x${is_1a} " == " x1a" ] && [ " x${is_35} " == " x" ] ; then
43
41
echo " install 2mic"
44
42
dtoverlay seeed-2mic-voicecard
45
- sleep 1
46
43
rm /etc/asound.conf
47
44
rm /var/lib/alsa/asound.state
48
45
echo " create 2mic asound configure file"
55
52
if [ " x${is_3b} " == " x3b" ] && [ " x${is_35} " == " x" ] ; then
56
53
echo " install 4mic"
57
54
dtoverlay seeed-4mic-voicecard
58
- sleep 1
59
55
rm /etc/asound.conf
60
56
rm /var/lib/alsa/asound.state
61
57
echo " create 4mic asound configure file"
68
64
if [ " x${is_3b} " == " x3b" ] && [ " x${is_35} " == " x35" ] ; then
69
65
echo " install 6mic"
70
66
dtoverlay seeed-8mic-voicecard
71
- sleep 1
72
67
rm /etc/asound.conf
73
68
rm /var/lib/alsa/asound.state
74
69
echo " create 6mic asound configure file"
You can’t perform that action at this time.
0 commit comments