mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
move around build defines
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
#ifndef Features_h
|
||||
#define Features_h
|
||||
|
||||
// modified by Proddy
|
||||
|
||||
#define FT_ENABLED(feature) feature
|
||||
|
||||
// project feature off by default
|
||||
// project feature on by default
|
||||
#ifndef FT_PROJECT
|
||||
#define FT_PROJECT 0
|
||||
#define FT_PROJECT 1
|
||||
#endif
|
||||
|
||||
// security feature on by default
|
||||
@@ -23,14 +25,14 @@
|
||||
#define FT_NTP 1
|
||||
#endif
|
||||
|
||||
// mqtt feature on by default
|
||||
// ota feature on by default
|
||||
#ifndef FT_OTA
|
||||
#define FT_OTA 1
|
||||
#endif
|
||||
|
||||
// upload firmware feature off by default
|
||||
// upload firmware feature on by default
|
||||
#ifndef FT_UPLOAD_FIRMWARE
|
||||
#define FT_UPLOAD_FIRMWARE 0
|
||||
#define FT_UPLOAD_FIRMWARE 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user