Adjusted formatting
All checks were successful
Test And Build / Lint (push) Successful in 5s
Test And Build / Build (push) Successful in 6s

This commit is contained in:
2025-08-12 09:10:00 +02:00
parent 7ed054d075
commit 8689c79f19

View File

@@ -266,17 +266,17 @@ In addition to the two extension classes this library also includes a mechanism
#### macros.h #### macros.h
Contains macros used in `sinqMotor` and derived drivers: Contains macros used in `sinqMotor` and derived drivers:
**HIDDEN** - **HIDDEN**
By default, the symbols of classes and functions are hidden to avoid symbol clashes when loading By default, the symbols of classes and functions are hidden to avoid symbol clashes when loading
multiple shared libraries which use `sinqMotor`. In order to compile this library with exported multiple shared libraries which use `sinqMotor`. In order to compile this library with exported
symbols, specifiy `-DHIDDEN= ` as a compiler flag (if using the given Makefile, this symbols, specifiy `-DHIDDEN= ` as a compiler flag (if using the given Makefile, this
needs to be added to the `USR_CFLAGS`). needs to be added to the `USR_CFLAGS`).
Derived libraries can use the same mechanism via the macro `HIDDEN` (defined in `macros.h`): Derived libraries can use the same mechanism via the macro `HIDDEN` (defined in `macros.h`):
``` ```
class HIDDEN turboPmacController : public sinqController class HIDDEN turboPmacController : public sinqController
``` ```
### Versioning ### Versioning