mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
spark_fp: don't touch LEDs on shutdown
Origin commit data
------------------
Branch: master
Commit: 6f1de0cd6c
Author: martii <you@example.com>
Date: 2012-07-13 (Fri, 13 Jul 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user