Skip to content

Commit f867740

Browse files
committed
Disabled debug messages
1 parent 6069bd7 commit f867740

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

platformio.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ debug_flags =
5555
#-D ENABLE_DEBUG_EVSE_MONITOR
5656
#-D ENABLE_DEBUG_DIVERT
5757
#-D ENABLE_DEBUG_LED
58-
-D ENABLE_DEBUG_LCD
58+
#-D ENABLE_DEBUG_LCD
5959
#-D ENABLE_DEBUG_MQTT
6060
#-D ENABLE_DEBUG_EMONCMS
6161
#-D ENABLE_DEBUG_TESLA_CLIENT
@@ -65,6 +65,7 @@ debug_flags =
6565
#-D ENABLE_NOISY_PROFILE
6666
#-D ENABLE_DEBUG_MICROTASKS
6767
#-D ENABLE_DEBUG_ENERGY_METER
68+
#-D ENABLE_DEBUG_MEMORY_MONITOR
6869
src_build_flags =
6970
# -D ARDUINOJSON_USE_LONG_LONG
7071
# -D ENABLE_ASYNC_WIFI_SCAN
@@ -456,4 +457,4 @@ build_flags =
456457
-D RAPI_PORT=Serial2
457458
#upload_protocol = custom
458459
#upload_command = curl -F firmware=@$SOURCE http://$UPLOAD_PORT/update
459-
#build_type = debug
460+
build_type = debug

src/embedded_files.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if defined(ENABLE_DEBUG) && !defined(ENABLE_DEBUG_EMBEDDED_FILES)
2+
#undef ENABLE_DEBUG
3+
#endif
14

25
#include "embedded_files.h"
36
#include "emonesp.h"

0 commit comments

Comments
 (0)