[OTA] Fix macro check to avoid having the regular new update check (#1723)
This commit is contained in:
1 parent
4a6838a491
commit
e673788da5
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -148,7 +148,9 @@ const byte mac[] = {0xDE, 0xED, 0xBA, 0xFE, 0x54, 0x95}; //W5100 ethernet shield
|
||||
# define mqtt_topic_max_size 150
|
||||
# ifndef mqtt_max_packet_size
|
||||
# ifdef MQTT_HTTPS_FW_UPDATE
|
||||
# define CHECK_OTA_UPDATE true // enable to check for the presence of a new version for your environment on Github
|
||||
# ifndef CHECK_OTA_UPDATE
|
||||
# define CHECK_OTA_UPDATE true // enable to check for the presence of a new version for your environment on Github
|
||||
# endif
|
||||
# define mqtt_max_packet_size 2560
|
||||
# else
|
||||
# define mqtt_max_packet_size 1024
|
||||
|
||||
+1
-1
@@ -2365,7 +2365,7 @@ String latestVersion;
|
||||
|
||||
# include "zzHTTPUpdate.h"
|
||||
|
||||
# ifdef CHECK_OTA_UPDATE
|
||||
# if CHECK_OTA_UPDATE
|
||||
/**
|
||||
* Check on a server the latest version information to build a releaseLink
|
||||
* The release link will be used when the user trigger an OTA update command
|
||||
|
||||
Reference in new issue
Block a user