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