-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modbus: add an option to disable log #3035
Conversation
Introduce new configuration option that allow disable all logging functionality for FreeModBus. This option is useful for small systems when we don't use any logging features. Signed-off-by: raiden00pl <[email protected]>
nxstyle failure is expected because freemodbus is not compatible with NuttX coding style |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @raiden00pl :-) Yup camel case is ModBus implementation :-)
Why close not merge @raiden00pl ?? :D |
oops, I accidentally deleted an unmerged branch :P restored now |
Will merge when CI finished just to keep things clean :-) Lint fail comes from FreeModBusMixedCaseImplementation :-) |
@jerpelea backporting to 12.9? :-) |
sadly no |
Summary
Introduce new configuration option that allow disable all logging functionality for FreeModBus. This option is useful for small systems when we don't use any logging features.
Impact
fix broken compilation when FILE_STREAM is disabled
Testing
local modbus RTU configuration with file streams disabled