Merge pull request #5015 from tonhuisman/bugfix/Build-disable-notifiers-in-full-binaries

[Build] Disable Notifiers in full binaries
This commit is contained in:
TD-er
2024-03-28 22:43:29 +01:00
committed by GitHub
+13
View File
@@ -1463,6 +1463,12 @@ To create/register a plugin, you have to :
#ifndef NOTIFIER_SET_NONE
#define NOTIFIER_SET_NONE
#endif
#ifdef USES_N001
#undef USES_N001 // Email
#endif
#ifdef USES_N002
#undef USES_N002 // Buzzer
#endif
// Do not include large blobs but fetch them from CDN
#ifndef WEBSERVER_USE_CDN_JS_CSS
@@ -1707,6 +1713,13 @@ To create/register a plugin, you have to :
#ifndef P037_LIMIT_BUILD_SIZE
#define P037_LIMIT_BUILD_SIZE // Reduce build size for P037 (MQTT Import) only
#endif
#define NOTIFIER_SET_NONE
#ifdef USES_N001
#undef USES_N001 // Email
#endif
#ifdef USES_N002
#undef USES_N002 // Buzzer
#endif
#endif
#endif
#if defined(ESP8266)