[Build] Reduce ENERGY build size by removing DEBUG logging

This commit is contained in:
Ton Huisman
2023-08-06 22:20:06 +02:00
parent 3235f0a0c4
commit 24f8bdbd04
+1
View File
@@ -1558,6 +1558,7 @@ To create/register a plugin, you have to :
#endif
#if !defined(LIMIT_BUILD_SIZE) && (defined(ESP8266) || !(ESP_IDF_VERSION_MAJOR > 3))
// #define LIMIT_BUILD_SIZE // Reduce buildsize (on ESP8266 / pre-IDF4.x) to fit in all Energy plugins
#define BUILD_NO_DEBUG // Reduce build size without sacrificing features other than some logging
#ifndef P036_LIMIT_BUILD_SIZE
#define P036_LIMIT_BUILD_SIZE // Reduce build size for P036 (FramedOLED) only
#endif