hs303v2 fixes

This commit is contained in:
cronyx
2024-03-23 18:24:51 +03:00
parent 45adc54c89
commit d66d4a5312
3 changed files with 63 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" = "rtl8188eus-switcam-hs303v2" ]; then
gpio set 54
modprobe 8188eu
exit 0
fi
exit 1