From d59025053b9fa1b6802233aa316889a36902ad6d Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 5 Oct 2011 16:18:14 +0000 Subject: Minor typos in examples/helloxx fixed git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4023 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/helloxx/Makefile | 4 ++-- apps/examples/helloxx/main.cxx | 2 +- 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 -- cgit v1.2.3