Skip to content

Commit

Permalink
add WM_SLIM macro
Browse files Browse the repository at this point in the history
  • Loading branch information
tablatronix committed Nov 7, 2023
1 parent 1dc59be commit ef03a62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion WiFiManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <core_version.h>
#endif

#include <vector>
#include <vector> // 1.2k setmenu(vector)

// #define WM_MDNS // includes MDNS, also set MDNS with sethostname
// #define WM_FIXERASECONFIG // use erase flash fix
Expand All @@ -30,6 +30,12 @@
// #define WM_JSTEST // build flag for enabling js xhr tests
// #define WIFI_MANAGER_OVERRIDE_STRINGS // build flag for using own strings include

#ifdef WM_SLIM
#define WM_NOINFO
#define WM_NOOTA
#define WM_NODEBUG
#endif

#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
#warning "ARDUINO_ESP8266_RELEASE_2_3_0, some WM features disabled"
// @todo check failing on platform = espressif8266@1.7.3
Expand Down

0 comments on commit ef03a62

Please sign in to comment.