mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-25 15:59:22 +00:00
add vstarcam c43s(b)
This commit is contained in:
14
devices/ssc333_lite_vstarcam-c43s_b/general/overlay/etc/wireless/usb
Executable file
14
devices/ssc333_lite_vstarcam-c43s_b/general/overlay/etc/wireless/usb
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if [ "$1" = "mt7601sta-generic" ]; then
|
||||
set_gpio 16 1
|
||||
modprobe mt7601sta
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user