From cfbfe6643217c20a202b4cbe1460b351d3f71fbe Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Wed, 24 Jun 2015 11:30:52 -0400 Subject: increase power fail delay to 200 ms, for OSRF --- instr-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'instr-daemon.c') 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)); } -- cgit