diff --git a/myHal.cpp_example.txt b/myHal.cpp_example.txt index 6ea5c00..832dad6 100644 --- a/myHal.cpp_example.txt +++ b/myHal.cpp_example.txt @@ -6,7 +6,7 @@ // Note that if the file has a .cpp extension it WILL be compiled into the build // and the halSetup() function WILL be invoked. // -// To prevent this, temporarily rename it to mySetup.txt or similar. +// To prevent this, temporarily rename it to myHal.txt or similar. // #include "IODevice.h" @@ -20,7 +20,7 @@ // Examples of statically defined HAL directives (alternative to the create() call). -// These have to be outside of the mySetup() function. +// These have to be outside of the halSetup() function. //======================================================================= // The following directive defines a PCA9685 PWM Servo driver module. @@ -123,14 +123,14 @@ //======================================================================= -// The function mySetup() is invoked from CS if it exists within the build. -// It is called just before mysetup.h is executed, so things set up within here can be +// The function halSetup() is invoked from CS if it exists within the build. +// It is called before mySetup.h is executed, so things set up within here can be // referenced by commands in mySetup.h. //======================================================================= void halSetup() { - // Alternative way of creating a module driver, which has to be within the mySetup() function + // Alternative way of creating a module driver, which has to be within the halSetup() function // The other devices can also be created in this way. The parameter lists for the // create() function are identical to the parameter lists for the declarations.