mirror of https://github.com/arendst/Tasmota.git
Fix AWS related core 2.3.0 compile error
Fix AWS related core 2.3.0 compile error
This commit is contained in:
parent
6a5ea7a9c6
commit
8626304165
|
@ -17,6 +17,9 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <my_user_config.h>
|
||||||
|
#ifdef USE_MQTT_AWS_IOT
|
||||||
|
|
||||||
#include <bearssl/bearssl.h>
|
#include <bearssl/bearssl.h>
|
||||||
#include <pgmspace.h>
|
#include <pgmspace.h>
|
||||||
|
|
||||||
|
@ -145,3 +148,5 @@ const br_ec_private_key *AWS_IoT_Private_Key = &EC;
|
||||||
const br_x509_certificate *AWS_IoT_Client_Certificate = &CHAIN[0];
|
const br_x509_certificate *AWS_IoT_Client_Certificate = &CHAIN[0];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // USE_MQTT_AWS_IOT
|
|
@ -46,6 +46,13 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
||||||
* Default global defines
|
* Default global defines
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
|
#ifdef USE_MQTT_AWS_IOT
|
||||||
|
#include <core_version.h>
|
||||||
|
#ifndef ARDUINO_ESP8266_RELEASE_2_5_2
|
||||||
|
#error "USE_MQTT_AWS_IOT is only supported on core version 2.5.2"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(USE_MQTT_TLS) || defined(USE_MQTT_AWS_IOT)
|
#if defined(USE_MQTT_TLS) || defined(USE_MQTT_AWS_IOT)
|
||||||
const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog
|
const uint16_t WEB_LOG_SIZE = 2000; // Max number of characters in weblog
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue