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

Include missing config_helper.h in ShowMemoryUsage #228

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

flattermann
Copy link
Collaborator

Added the missing config_helper.h include to resolve potential dependency issues. This ensures that all necessary configurations are properly loaded for memory usage functionality.

Added the missing config_helper.h include to resolve potential dependency issues. This ensures that all necessary configurations are properly loaded for memory usage functionality.
@learn-more
Copy link
Collaborator

The line -include "firmware/config/config_helper.h" in platformio.ini forces this include to be added to everything automatically, so it does not have to be included manually.

@flattermann
Copy link
Collaborator Author

Well, that didn't work for me.

If I add
#define MEMORY_DEBUG_INTERVAL 1000
in my config.h, it would print the memory debug every 5000ms.

When I add the #include statement, it works.

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.

2 participants