Skip to content

Commit

Permalink
Fix invalid condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewHDYT committed Oct 7, 2024
1 parent c487edd commit 263f4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Espressif_MQTT_Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ class Espressif_MQTT_Client : public IMQTT_Client {
#ifdef ARDUINO
arduino_esp_crt_bundle_set(x509_bundle);
#else
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR < 4 && ESP_IDF_VERSION_PATCH < 2) || ESP_IDF_VERSION_MAJOR < 4
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR <= 4 && ESP_IDF_VERSION_PATCH < 2) || ESP_IDF_VERSION_MAJOR < 4
(void)esp_crt_bundle_set(x509_bundle);
#else
(void)esp_crt_bundle_set(x509_bundle, bundle_size);
#endif // (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR < 4 ESP_IDF_VERSION_MINO < 2) || ESP_IDF_VERSION_MAJOR < 4
#endif // (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR <= 4 ESP_IDF_VERSION_MINO < 2) || ESP_IDF_VERSION_MAJOR < 4
#endif // ARDUINO
}
return update_configuration();
Expand Down

0 comments on commit 263f4f5

Please sign in to comment.