summaryrefslogtreecommitdiff
path: root/apps/examples/helloxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-05 16:18:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-05 16:18:14 +0000
commitd59025053b9fa1b6802233aa316889a36902ad6d (patch)
treed4f18006abe588a28094bd1b860cda474e86fb3f /apps/examples/helloxx
parente0c8d0bd3c9cdb2b5f4aca06a09fc61ddb2f8726 (diff)
downloadnuttx-d59025053b9fa1b6802233aa316889a36902ad6d.tar.gz
nuttx-d59025053b9fa1b6802233aa316889a36902ad6d.tar.bz2
nuttx-d59025053b9fa1b6802233aa316889a36902ad6d.zip
Minor typos in examples/helloxx fixed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4023 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/helloxx')
-rw-r--r--apps/examples/helloxx/Makefile4
-rw-r--r--apps/examples/helloxx/main.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 5bc17014b..c34378d24 100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -76,7 +76,7 @@ ifneq ($(CONFIG_HAVE_CXX),y)
@echo ""
@echo "In order to use this example, you toolchain must support must"
@echo ""
- @echo " (1) Explicitly seelct CONFIG_HAVE_CXX to build in C++ support"
+ @echo " (1) Explicitly select CONFIG_HAVE_CXX to build in C++ support"
@echo " (2) Define CXX, CXXFLAGS, and COMPILEXX in the Make.defs file"
@echo " of the configuration that you are using."
@echo ""
@@ -99,7 +99,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
@touch .built
.context:
-ifeq ($(CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN),y)
+ifeq ($(CONFIG_EXAMPLES_HELLOXX_BUILTIN),y)
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
@touch $@
endif
diff --git a/apps/examples/helloxx/main.cxx b/apps/examples/helloxx/main.cxx
index 66f9c827b..ed48f4961 100644
--- a/apps/examples/helloxx/main.cxx
+++ b/apps/examples/helloxx/main.cxx
@@ -114,7 +114,7 @@ int MAIN_NAME(int argc, char *argv[])
pHelloWorld->HelloWorld();
#ifndef CONFIG_EXAMPLES_HELLOXX_NOSTACKCONST
- printf(MAIN_STRING "Saying hello from the instance constructed of the stack\n");
+ printf(MAIN_STRING "Saying hello from the instance constructed on the stack\n");
HelloWorld.HelloWorld();
#endif