fixed some coding styles issues
This commit is contained in:
parent
32f193a7e2
commit
d2463021a9
@ -169,7 +169,6 @@ int main(int argc, FAR char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Open the timer device */
|
/* Open the timer device */
|
||||||
|
|
||||||
printf("Open %s\n", devname);
|
printf("Open %s\n", devname);
|
||||||
@ -194,7 +193,8 @@ int main(int argc, FAR char *argv[])
|
|||||||
ret = ioctl(fd, TCIOC_SETTIMEOUT, CONFIG_EXAMPLES_TIMER_INTERVAL);
|
ret = ioctl(fd, TCIOC_SETTIMEOUT, CONFIG_EXAMPLES_TIMER_INTERVAL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Failed to set the timer interval: %d\n", errno);
|
fprintf(stderr, "ERROR: Failed to set the timer interval: %d\n",
|
||||||
|
errno);
|
||||||
close(fd);
|
close(fd);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user