mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-01-11 13:21:01 +01:00
Some comment changes
This commit is contained in:
parent
6c98f90151
commit
82f121c8ef
@ -6,7 +6,7 @@
|
|||||||
// Note that if the file has a .cpp extension it WILL be compiled into the build
|
// Note that if the file has a .cpp extension it WILL be compiled into the build
|
||||||
// and the halSetup() function WILL be invoked.
|
// 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"
|
#include "IODevice.h"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Examples of statically defined HAL directives (alternative to the create() call).
|
// 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.
|
// 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.
|
// The function halSetup() 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
|
// It is called before mySetup.h is executed, so things set up within here can be
|
||||||
// referenced by commands in mySetup.h.
|
// referenced by commands in mySetup.h.
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
void halSetup() {
|
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
|
// 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.
|
// create() function are identical to the parameter lists for the declarations.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user