Skip to content

Commit

Permalink
Merge pull request letscontrolit#5015 from tonhuisman/bugfix/Build-di…
Browse files Browse the repository at this point in the history
…sable-notifiers-in-full-binaries

[Build] Disable Notifiers in full binaries
  • Loading branch information
TD-er authored Mar 28, 2024
2 parents edccb0b + 5442b8a commit 3f250a4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/src/CustomBuild/define_plugin_sets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3f250a4

Please sign in to comment.