diff options
author | Jesse Gilles <jgilles@multitech.com> | 2014-02-28 16:20:36 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2014-02-28 16:20:36 -0600 |
commit | b119f2ff94356d4b77e6b7fe233bbec33aee358c (patch) | |
tree | 4bec243395de10d6c46604de7ca5f8ce591c542e /io-module/mts_io.c | |
parent | a006066f4a22954d5ab87549175111e4612a14dd (diff) | |
download | mts-io-b119f2ff94356d4b77e6b7fe233bbec33aee358c.tar.gz mts-io-b119f2ff94356d4b77e6b7fe233bbec33aee358c.tar.bz2 mts-io-b119f2ff94356d4b77e6b7fe233bbec33aee358c.zip |
mtocgd: increase wait for telit radio to power off
Old delay was too short and would always use reset line
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r-- | io-module/mts_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index d36f721..f7d53e5 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -1426,7 +1426,8 @@ static int radio_off_telit(void) return ret; } - msleep(200); + // wait for radio to power off + msleep(5000); // check that power is low value = at91_get_gpio_value(pwrmon_pin->pin); |