add vstarcam c43s(b)

This commit is contained in:
cronyx
2024-04-01 23:20:00 +03:00
parent 046ad8cc1e
commit 01b6a4bc3e
6 changed files with 194 additions and 0 deletions

View 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