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:
martii
2013-02-03 15:20:06 +01:00
parent 80e01fa9bb
commit 9d20bf9645

View File

@@ -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 */