Minor typos in examples/helloxx fixed

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4023 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-10-05 16:18:14 +00:00
parent 9ff4cc1bdd
commit a9c3e2c8b3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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