This pull request introduces run-time configuration of the line ending and user errors. Run-time configuration is valuable when compiling the library as an independent archive or shared object and linking against it from different applications.
Minor modifications are applied to _scpi_interface_t in order to allow run time configuration, however, legacy compile time configuration is maintained using the following two macros (in scpi_user_config.h):
This pull request introduces run-time configuration of the line ending and user errors. Run-time configuration is valuable when compiling the library as an independent archive or shared object and linking against it from different applications.
Minor modifications are applied to
_scpi_interface_t
in order to allow run time configuration, however, legacy compile time configuration is maintained using the following two macros (inscpi_user_config.h
):USE_RUN_TIME_SCPI_LINE_ENDING
USE_RUN_TIME_USER_ERROR_LIST