summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 88d7ae2..91eac0d 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 (200 ms), to ignore short power glitches
- g_usleep (200e3);
+ // verify after a short delay (25 ms), to ignore short power glitches
+ g_usleep (25e3);
power_fail = (globals.HWDetect.beaglebone && bus_getpin (POWER_FAIL));
}