adafruit / Adafruit_IO_Arduino

Arduino library to access Adafruit IO from WiFi, cellular, and ethernet modules.
Other
208 stars 108 forks source link

Fix connectErrorString return type for ESP-32 BSP 2.0.8 #165

Closed brentru closed 1 year ago

brentru commented 1 year ago

This PR fixes the return type of connectErrorString due to a change in https://github.com/espressif/arduino-esp32/pull/7941 by adding a preprocessor for ESP32-arch and returning a const char * rather than a __FlashStringHelper to Serial.println().

Similar: https://github.com/adafruit/Adafruit_MQTT_Library/pull/222 Related: https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2483

brentru commented 1 year ago

Failing on ESP32, needs https://github.com/adafruit/Adafruit_MQTT_Library/pull/222 first

brentru commented 1 year ago

Note - ESP32 is failing, requires https://github.com/adafruit/Adafruit_MQTT_Library/releases/tag/2.5.3 to be released first.