summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:02:00 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:02:00 -0500
commit577674a51fa4b5a871c256af85f53e9b848d9520 (patch)
tree9f8daae1b0cf679ff862d2b8224133374aef7fa6 /instr-daemon.c
parentfd3246c8939d3db256d7aaa85343094df84abfd8 (diff)
POWER_FAIL is an input
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index c03236b..b7a8f7b 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -312,9 +312,8 @@ int main(int argc, char **argv)
static gboolean periodic_poll (void)
{
if (bus_getpin (POWER_FAIL)) {
+ // FIXME: system shutdown
printf ("power fail detected\n");
- } else {
- printf ("power OK\n");
}
Menu_Check_Buttons ();