From b426f9cf6704fa666ca94d8e67a873d2df0d5298 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Sep 2011 16:46:24 +0000 Subject: apps/examples/touchscreen build fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3997 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/touchscreen/tc_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/examples/touchscreen') diff --git a/apps/examples/touchscreen/tc_main.c b/apps/examples/touchscreen/tc_main.c index 920a504fb..291abcb8f 100644 --- a/apps/examples/touchscreen/tc_main.c +++ b/apps/examples/touchscreen/tc_main.c @@ -143,9 +143,9 @@ int MAIN_NAME(int argc, char *argv[]) */ #if defined(CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN) - for (; namples > 0; nsamples--) + for (; nsamples > 0; nsamples--) #elif defined(CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES) - for (namples = 0; namples < CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES; nsamples++) + for (nsamples = 0; nsamples < CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES; nsamples++) #else for (;;) #endif -- cgit v1.2.3