Skip to content

Commit

Permalink
Disabled debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed Feb 4, 2024
1 parent 6069bd7 commit f867740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ debug_flags =
#-D ENABLE_DEBUG_EVSE_MONITOR
#-D ENABLE_DEBUG_DIVERT
#-D ENABLE_DEBUG_LED
-D ENABLE_DEBUG_LCD
#-D ENABLE_DEBUG_LCD
#-D ENABLE_DEBUG_MQTT
#-D ENABLE_DEBUG_EMONCMS
#-D ENABLE_DEBUG_TESLA_CLIENT
Expand All @@ -65,6 +65,7 @@ debug_flags =
#-D ENABLE_NOISY_PROFILE
#-D ENABLE_DEBUG_MICROTASKS
#-D ENABLE_DEBUG_ENERGY_METER
#-D ENABLE_DEBUG_MEMORY_MONITOR
src_build_flags =
# -D ARDUINOJSON_USE_LONG_LONG
# -D ENABLE_ASYNC_WIFI_SCAN
Expand Down Expand Up @@ -456,4 +457,4 @@ build_flags =
-D RAPI_PORT=Serial2
#upload_protocol = custom
#upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
#build_type = debug
build_type = debug
3 changes: 3 additions & 0 deletions src/embedded_files.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#if defined(ENABLE_DEBUG) && !defined(ENABLE_DEBUG_EMBEDDED_FILES)
#undef ENABLE_DEBUG
#endif

#include "embedded_files.h"
#include "emonesp.h"
Expand Down

0 comments on commit f867740

Please sign in to comment.