examples/touchscreen/tc_main.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 10:21:04 +09:00 committed by Xiang Xiao
parent 89a4d02fce
commit c8f2f0f262

View File

@ -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));
} }