summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:02:07 +0900
committerroot <root@avtech.domain.avtechpulse.com>2000-01-01 00:02:07 +0900
commitb6bb15deeba5ae52b822b776180dd06d5cb4ee6d (patch)
tree5aadbb0c04d6acb917ec281e4d7fbe55400e9d11 /instr-daemon.c
parentfda8d9d2919e7e9e1711330b59176ac3e9090459 (diff)
enable power_fail for olimex boards (tie LCD conn pin 14 on EVB to gnd)
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 40bdf62..4fc55b0 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -381,7 +381,7 @@ static gboolean periodic_poll (void)
gboolean power_fail;
// TODO - remove Olimex qualification once ethernet-enabled carrier board is available
- power_fail = globals.HWDetect.has_gpio && bus_getpin (POWER_FAIL) && !globals.HWDetect.olimex;
+ power_fail = globals.HWDetect.has_gpio && bus_getpin (POWER_FAIL);
if (power_fail) {
// verify after a short delay (25 ms), to ignore short power glitches