From 219197bc34ecf91c4db62fd17ef3002e9b81f4c2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 1 Jan 2000 00:05:35 +0900 Subject: enable most bus features on Olimex --- instr-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'instr-daemon.c') diff --git a/instr-daemon.c b/instr-daemon.c index 8b2d0e6..40bdf62 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -380,7 +380,8 @@ static gboolean periodic_poll (void) { gboolean power_fail; - power_fail = (globals.HWDetect.has_gpio && bus_getpin (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; if (power_fail) { // verify after a short delay (25 ms), to ignore short power glitches -- cgit