1f07dcdab2
* Improve restart behaviour under esp8266 * Backend to support firmware update over HTTP * UI for uploading new firmware * Documentation changes
38 lines
567 B
C
38 lines
567 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
|
|
|
|
// upload firmware feature off by default
|
|
#ifndef FT_UPLOAD_FIRMWARE
|
|
#define FT_UPLOAD_FIRMWARE 0
|
|
#endif
|
|
|
|
|
|
#endif
|