summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--instr-daemon.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/TODO b/TODO
index 997f91a..e69de29 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +0,0 @@
-Feb 5, 2016 - check where globals.HWDetect.beaglebone is called,
-and add globals.HWDetect.olimex, once a carrier board is developed.
-
-For example, powerfail support.
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