move around build defines

This commit is contained in:
proddy
2021-03-28 20:09:33 +02:00
parent ac7003124e
commit 621c73ab03
4 changed files with 20 additions and 34 deletions

View File

@@ -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