diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2015-06-24 11:30:52 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2015-06-24 11:30:52 -0400 |
commit | cfbfe6643217c20a202b4cbe1460b351d3f71fbe (patch) | |
tree | 63bb55c264da21c6ab3af3c2f48a0593da09ed12 | |
parent | 6a1773eca8995139cd60cbcb72c97963f355c267 (diff) |
increase power fail delay to 200 ms, for OSRF
-rw-r--r-- | instr-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instr-daemon.c b/instr-daemon.c index 91eac0d..88d7ae2 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -364,8 +364,8 @@ static gboolean periodic_poll (void) power_fail = (globals.HWDetect.beaglebone && bus_getpin (POWER_FAIL)); if (power_fail) { - // verify after a short delay (25 ms), to ignore short power glitches - g_usleep (25e3); + // verify after a short delay (200 ms), to ignore short power glitches + g_usleep (200e3); power_fail = (globals.HWDetect.beaglebone && bus_getpin (POWER_FAIL)); } |