diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-11-04 11:55:05 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-11-04 11:55:05 -0500 |
commit | 6106c1f64af002c9e61fab282a7834ec00b28fae (patch) | |
tree | d6cb161094e8cbece9589d674d4771b3f94399da /recipes-bsp/multitech/mts-io/mts-io.mtcap.init | |
parent | 47bab11486b952e842f956250bce4c378d471bea (diff) | |
download | meta-multitech-6106c1f64af002c9e61fab282a7834ec00b28fae.tar.gz meta-multitech-6106c1f64af002c9e61fab282a7834ec00b28fae.tar.bz2 meta-multitech-6106c1f64af002c9e61fab282a7834ec00b28fae.zip |
mtcap:fix: lora radio reset
Diffstat (limited to 'recipes-bsp/multitech/mts-io/mts-io.mtcap.init')
-rw-r--r-- | recipes-bsp/multitech/mts-io/mts-io.mtcap.init | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.mtcap.init b/recipes-bsp/multitech/mts-io/mts-io.mtcap.init index 02d5834..9a71096 100644 --- a/recipes-bsp/multitech/mts-io/mts-io.mtcap.init +++ b/recipes-bsp/multitech/mts-io/mts-io.mtcap.init @@ -2,19 +2,10 @@ lora_init() { # reset lora chip - mts-io-sysfs store lora/reset 1 mts-io-sysfs store lora/reset 0 - usleep 100000 mts-io-sysfs store lora/reset 1 - - #Initialize FPGA - # usleep 100000 - # mts-io-sysfs store lora/creset 1 - # mts-io-sysfs store lora/creset 0 - # while [ "$(mts-io-sysfs show lora/cdone)" == "0" ]; do - # usleep 10 - # done - # mts-io-sysfs store lora/creset 1 + usleep 100000 + mts-io-sysfs store lora/reset 0 } eth_init() { |