Fixed compilation error

This commit is contained in:
Stephan Hadinger 2019-06-10 20:04:34 +02:00
parent 844840a851
commit 96ee25a2d1
1 changed files with 1 additions and 2 deletions

View File

@ -128,11 +128,10 @@ void MqttInit(void) {
#endif
#ifdef USE_MQTT_TLS_CA_CERT
tlsClient->setTrustAnchor(&LetsEncryptX3CrossSigned_TA);
#ifdef USE_MQTT_AWS_IOT
tlsClient->setTrustAnchor(&AmazonRootCA1_TA);
#else
// LETSENCRYPT CA TODO
tlsClient->setTrustAnchor(&LetsEncryptX3CrossSigned_TA);
#endif // USE_MQTT_AWS_IOT
#endif // USE_MQTT_TLS_CA_CERT