Skip to content

Conversation

@me-no-dev
Copy link
Member

This pull request updates the logging macro definition in driver/cam_hal.c to respect the default logging level configuration. The main change ensures that the ESP_CAMERA_ETS_PRINTF macro does not output logs when logging is disabled.

Logging configuration improvements:

  • Updated the definition of the ESP_CAMERA_ETS_PRINTF macro to conditionally disable logging output when CONFIG_LOG_DEFAULT_LEVEL_NONE is set, preventing any log messages from being printed in this configuration.

Fixes: #797

@me-no-dev me-no-dev merged commit c63baf6 into master Aug 22, 2025
30 checks passed
@me-no-dev me-no-dev deleted the silence_hal_logs branch August 22, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting Set CONFIG_LOG_DEFAULT_LEVEL_NONE=y but still got some message from console print

2 participants