spark_fp: small fix

This commit is contained in:
martii
2013-02-03 15:20:06 +01:00
parent 5d64ecf5fb
commit 2e83762e95

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