Changed power up sleep time to fix power up issue on reconnect scripts

This commit is contained in:
Yasin Kaya 2020-11-26 11:22:36 +00:00
parent b53f7ffcbf
commit 763b8c6802
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ function power_up_module()
gpio -g write $POWERKEY 1 gpio -g write $POWERKEY 1
sleep 2 sleep 2
gpio -g write $POWERKEY 0 gpio -g write $POWERKEY 0
sleep 2 sleep 5
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
debug "Module is powered up." debug "Module is powered up."

View File

@ -24,7 +24,7 @@ function power_up_module()
gpio -g write $POWERKEY 1 gpio -g write $POWERKEY 1
sleep 2 sleep 2
gpio -g write $POWERKEY 0 gpio -g write $POWERKEY 0
sleep 2 sleep 5
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
debug "Module is powered up." debug "Module is powered up."

View File

@ -24,7 +24,7 @@ function power_up_module()
gpio -g write $POWERKEY 1 gpio -g write $POWERKEY 1
sleep 2 sleep 2
gpio -g write $POWERKEY 0 gpio -g write $POWERKEY 0
sleep 2 sleep 5
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
debug "Module is powered up." debug "Module is powered up."

View File

@ -24,7 +24,7 @@ function power_up_module()
gpio -g write $POWERKEY 1 gpio -g write $POWERKEY 1
sleep 2 sleep 2
gpio -g write $POWERKEY 0 gpio -g write $POWERKEY 0
sleep 2 sleep 5
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
debug "Module is powered up." debug "Module is powered up."