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);
break;
case 'P':
ret = ioctl(fd, VFDPOWEROFF, &t);
ret = ioctl(fd, VFDPOWEROFF);
#else
ret = ioctl(fd, VFDSTANDBY, &t);
#endif
/* driver always returns einval here...
if (ret < 0)
perror("ioctl VFDSTANDBY");
*/
sleep(2); /* not reached... */
#endif
break;
#ifdef MARTII
case 'l': /* LED on */