m
This commit is contained in:
1 parent
3b57ecd50d
commit
f91f6dd837
1 file changed
+8
@@ -231,6 +231,14 @@ elif [[ $GW_TYPE == "risinghf" ]]; then
|
|||||||
sleep 0.1
|
sleep 0.1
|
||||||
gpio -1 write 13 0
|
gpio -1 write 13 0
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
|
elif [[ $GW_TYPE == "custom" ]]; then
|
||||||
|
gpio -1 mode $CUSTOM_RESET_PIN out
|
||||||
|
gpio -1 write $CUSTOM_RESET_PIN 0
|
||||||
|
sleep 0.1
|
||||||
|
gpio -1 write $CUSTOM_RESET_PIN 1
|
||||||
|
sleep 0.1
|
||||||
|
gpio -1 write $CUSTOM_RESET_PIN 0
|
||||||
|
sleep 0.1
|
||||||
else
|
else
|
||||||
echo "ERROR: unrecognized GW_TYPE=$GW_TYPE"
|
echo "ERROR: unrecognized GW_TYPE=$GW_TYPE"
|
||||||
echo "See https://github.com/rayozzie/ttn-resin-gateway-rpi/blob/master/README.md"
|
echo "See https://github.com/rayozzie/ttn-resin-gateway-rpi/blob/master/README.md"
|
||||||
|
|||||||
Reference in new issue
Block a user