Skip to content

Commit

Permalink
[ESP32] Increase DEVICES_MAX for ESP32 builds (> 85 plugins in build)
Browse files Browse the repository at this point in the history
  • Loading branch information
TD-er committed Jan 14, 2021
1 parent f0e794d commit b61d52c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ESPEasy.ino
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ void setup()
addLog(LOG_LEVEL_INFO, log);

if (deviceCount + 1 >= PLUGIN_MAX) {
addLog(LOG_LEVEL_ERROR, F("Programming error! - Increase PLUGIN_MAX"));
addLog(LOG_LEVEL_ERROR, String(F("Programming error! - Increase PLUGIN_MAX (")) + deviceCount + ')');
}

clearAllCaches();
Expand Down
2 changes: 1 addition & 1 deletion src/src/CustomBuild/ESPEasyLimits.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# define DEVICES_MAX 95
#else // if defined(PLUGIN_BUILD_TESTING) || defined(PLUGIN_BUILD_DEV)
# ifdef ESP32
# define DEVICES_MAX 85
# define DEVICES_MAX 100
# else // ifdef ESP32
# define DEVICES_MAX 60
# endif // ifdef ESP32
Expand Down

0 comments on commit b61d52c

Please sign in to comment.