Skip to content
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

Disable direct logging in listening mode #2512

Merged
merged 2 commits into from
Aug 18, 2022

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Aug 17, 2022

Problem

Device OS disables logging to the USB serial when the device is in listening mode in order to prevent mixing up the serial console and logging output. However, it turns out that messages logged via LOG_PRINT() and other macros for direct logging still get through and may garble the serial console output. This PR fixes that by disabling direct logging in listening mode.

@sergeuz sergeuz requested review from technobly and avtolstoy August 17, 2022 16:04
@sergeuz sergeuz force-pushed the fix/disable_direct_logging_in_listening_mode branch from ce833b7 to 720ab35 Compare August 18, 2022 10:17
@sergeuz sergeuz force-pushed the fix/disable_direct_logging_in_listening_mode branch from 720ab35 to c310f79 Compare August 18, 2022 10:19
@sergeuz sergeuz added this to the 5.0.0 milestone Aug 18, 2022
@sergeuz sergeuz merged commit dc9c64c into develop Aug 18, 2022
@sergeuz sergeuz deleted the fix/disable_direct_logging_in_listening_mode branch August 18, 2022 11:10
@sergeuz sergeuz modified the milestones: 5.0.0, 4.0.0 Aug 18, 2022
@technobly technobly added the bug label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants