From b119f2ff94356d4b77e6b7fe233bbec33aee358c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Fri, 28 Feb 2014 16:20:36 -0600 Subject: mtocgd: increase wait for telit radio to power off Old delay was too short and would always use reset line --- io-module/mts_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3