449d3c91ce
* Add framework for built-time feature selection * Allow MQTT, NTP, OTA features to be disabled at build time * Allow Project screens to be disabled at build time * Allow security features to be disabled at build time * Switch to std::function for StatefulService function aliases for greater flexibility * Bump various UI lib versions * Update docs
32 lines
460 B
C
32 lines
460 B
C
#ifndef Features_h
|
|
#define Features_h
|
|
|
|
#define FT_ENABLED(feature) feature
|
|
|
|
// project feature off by default
|
|
#ifndef FT_PROJECT
|
|
#define FT_PROJECT 0
|
|
#endif
|
|
|
|
// security feature on by default
|
|
#ifndef FT_SECURITY
|
|
#define FT_SECURITY 1
|
|
#endif
|
|
|
|
// mqtt feature on by default
|
|
#ifndef FT_MQTT
|
|
#define FT_MQTT 1
|
|
#endif
|
|
|
|
// ntp feature on by default
|
|
#ifndef FT_NTP
|
|
#define FT_NTP 1
|
|
#endif
|
|
|
|
// mqtt feature on by default
|
|
#ifndef FT_OTA
|
|
#define FT_OTA 1
|
|
#endif
|
|
|
|
#endif
|