We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#define UPDATE_DEBUG 1 => should be removed from the header file and not set to 1 by default. The naming could easily conflict with some other headers
#define UPDATE_DEBUG 1
#define ELEGANTOTA_DEBUG 1 => should not be set to ` by default.
#define ELEGANTOTA_DEBUG 1
I have changed to:
// #define ELEGANTOTA_DEBUG 1 // #define UPDATE_DEBUG 1 #ifdef ELEGANTOTA_DEBUG // instead of #if ELEGANTOTA_DEBUG
So that I can use in platformio:
[env:debug] build_type = debug build_flags = ${env.build_flags} -O0 -ggdb -ggdb3 -g3 -D DEBUG -D ENABLE_DEBUG -D ELEGANTOTA_DEBUG -D CORE_DEBUG_LEVEL=3
The text was updated successfully, but these errors were encountered:
Instead I've wrapped them with #ifndef to set default to 0 - c08acad
#ifndef
0
Sorry, something went wrong.
UPDATE_DEBUG is from Update.h inside ESP core - This provides more useful data for debugging OTA procedure. Anyways, disabled them by default.
UPDATE_DEBUG
No branches or pull requests
#define UPDATE_DEBUG 1
=> should be removed from the header file and not set to 1 by default. The naming could easily conflict with some other headers#define ELEGANTOTA_DEBUG 1
=> should not be set to ` by default.I have changed to:
So that I can use in platformio:
The text was updated successfully, but these errors were encountered: