diff options
-rwxr-xr-x | recipes-kernel/rs9113/files/rs9113/rs9113.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/rs9113/files/rs9113/rs9113.init b/recipes-kernel/rs9113/files/rs9113/rs9113.init index 6adeb5a..d5b31ec 100755 --- a/recipes-kernel/rs9113/files/rs9113/rs9113.init +++ b/recipes-kernel/rs9113/files/rs9113/rs9113.init @@ -45,15 +45,16 @@ function logpipe { } function rs9113_reset { - for i in {1..5} ; do + for i in {1..10} ; do if [[ -f $RS9113_RESET ]] ; then break fi + usleep 10000 done # Reset the RS9113 chip is ready, and # wait for it to settle. - for i in {1..5} ; do + for i in {1..10} ; do if [[ -f $RS9113_RESET ]] ; then echo 0 >$RS9113_RESET usleep $SLEEPTIME |