Closed brentru closed 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().
connectErrorString
__FlashStringHelper
Serial.println()
Similar: https://github.com/adafruit/Adafruit_MQTT_Library/pull/222 Related: https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2483
Failing on ESP32, needs https://github.com/adafruit/Adafruit_MQTT_Library/pull/222 first
Note - ESP32 is failing, requires https://github.com/adafruit/Adafruit_MQTT_Library/releases/tag/2.5.3 to be released first.
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
toSerial.println()
.Similar: https://github.com/adafruit/Adafruit_MQTT_Library/pull/222 Related: https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2483