examples/touchscreen/tc_main.c: Appease nxstyle
This commit is contained in:
parent
89a4d02fce
commit
c8f2f0f262
@ -109,6 +109,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
{
|
{
|
||||||
nsamples = strtol(argv[1], NULL, 10);
|
nsamples = strtol(argv[1], NULL, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("tc_main: nsamples: %d\n", nsamples);
|
printf("tc_main: nsamples: %d\n", nsamples);
|
||||||
|
|
||||||
/* Open the touchscreen device for reading */
|
/* Open the touchscreen device for reading */
|
||||||
@ -199,7 +200,8 @@ int main(int argc, FAR char *argv[])
|
|||||||
}
|
}
|
||||||
else if (nbytes != sizeof(struct touch_sample_s))
|
else if (nbytes != sizeof(struct touch_sample_s))
|
||||||
{
|
{
|
||||||
printf("tc_main: Unexpected read size=%ld, expected=%d, Ignoring\n",
|
printf("tc_main: Unexpected read size=%ld, expected=%d, "
|
||||||
|
"Ignoring\n",
|
||||||
(long)nbytes, sizeof(struct touch_sample_s));
|
(long)nbytes, sizeof(struct touch_sample_s));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user