summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-29 16:46:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-29 16:46:24 +0000
commitb426f9cf6704fa666ca94d8e67a873d2df0d5298 (patch)
tree705fec38042a50713b3842a666e77e394c112ad8 /apps
parentcbdb5257cc9ea90aa14eb071d2bfa4f31a32293e (diff)
downloadnuttx-b426f9cf6704fa666ca94d8e67a873d2df0d5298.tar.gz
nuttx-b426f9cf6704fa666ca94d8e67a873d2df0d5298.tar.bz2
nuttx-b426f9cf6704fa666ca94d8e67a873d2df0d5298.zip
apps/examples/touchscreen build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3997 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps')
-rw-r--r--apps/examples/touchscreen/tc_main.c4
-rw-r--r--apps/examples/usbterm/Makefile1
2 files changed, 2 insertions, 3 deletions
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
diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile
index bc9bb4d41..fe9b77fb8 100644
--- a/apps/examples/usbterm/Makefile
+++ b/apps/examples/usbterm/Makefile
@@ -98,7 +98,6 @@ depend: .depend
clean:
@rm -f *.o *~ .*.swp .built
$(call CLEAN)
- @$(MAKE) -f Makefile.host clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
distclean: clean
@rm -f Make.dep .depend