From b6bb15deeba5ae52b822b776180dd06d5cb4ee6d Mon Sep 17 00:00:00 2001 From: root Date: Sat, 1 Jan 2000 00:02:07 +0900 Subject: enable power_fail for olimex boards (tie LCD conn pin 14 on EVB to gnd) --- instr-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'instr-daemon.c') 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 -- cgit