espressif / esp-aws-iot

AWS IoT SDK for ESP32 based chipsets
Apache License 2.0
266 stars 157 forks source link

Don't use EXAMPLE defines to disable functionality (CA-246) #143

Closed NathanJPhillips closed 1 year ago

NathanJPhillips commented 1 year ago

This is a library so should be usable outside the context of the examples. The examples already set the members of NetworkContext_t correctly using the defines so they don't need to be checked again here while copying to esp_tls_cfg_t.