mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
spark_fp: small fix
Origin commit data
------------------
Branch: master
Commit: 2e83762e95
Author: martii <m4rtii@gmx.de>
Date: 2013-02-03 (Sun, 03 Feb 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -230,15 +230,15 @@ int main(int argc, char **argv)
|
|||||||
ret = ioctl(fd, VFDSETPOWERONTIME, &t);
|
ret = ioctl(fd, VFDSETPOWERONTIME, &t);
|
||||||
break;
|
break;
|
||||||
case 'P':
|
case 'P':
|
||||||
ret = ioctl(fd, VFDPOWEROFF, &t);
|
ret = ioctl(fd, VFDPOWEROFF);
|
||||||
#else
|
#else
|
||||||
ret = ioctl(fd, VFDSTANDBY, &t);
|
ret = ioctl(fd, VFDSTANDBY, &t);
|
||||||
#endif
|
|
||||||
/* driver always returns einval here...
|
/* driver always returns einval here...
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
perror("ioctl VFDSTANDBY");
|
perror("ioctl VFDSTANDBY");
|
||||||
*/
|
*/
|
||||||
sleep(2); /* not reached... */
|
sleep(2); /* not reached... */
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
#ifdef MARTII
|
#ifdef MARTII
|
||||||
case 'l': /* LED on */
|
case 'l': /* LED on */
|
||||||
|
Reference in New Issue
Block a user