From cc553ad6bf1f0fb47a11cefb4058b9840a3ea80d Mon Sep 17 00:00:00 2001 From: martii Date: Fri, 13 Jul 2012 16:23:04 +0200 Subject: [PATCH] spark_fp: don't touch LEDs on shutdown Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/6f1de0cd6cc232121b2406978c57df8dcc75cc03 Author: martii Date: 2012-07-13 (Fri, 13 Jul 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- tools/spark_fp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/spark_fp.c b/tools/spark_fp.c index 37824cc..75e2136 100644 --- a/tools/spark_fp.c +++ b/tools/spark_fp.c @@ -180,6 +180,7 @@ int main(int argc, char **argv) if (ret < 0) break; diff = t - t2; +#ifndef MARTII /* green LED off */ aotom.u.led.on = LOG_OFF; aotom.u.led.led_nr = 1; @@ -188,6 +189,7 @@ int main(int argc, char **argv) aotom.u.led.on = LOG_ON; aotom.u.led.led_nr = 0; ioctl(fd, VFDSETLED, &aotom); +#endif if (t == 1) t = 0; /* t = 1 is magic for "no time" -> clear... */ else