Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2023

Conversation

brentru
Copy link
Member

@brentru brentru commented Apr 21, 2023

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

Similar: adafruit/Adafruit_MQTT_Library#222
Related: adafruit/Adafruit_Learning_System_Guides#2483

@brentru brentru requested a review from caternuson April 21, 2023 17:16
@brentru
Copy link
Member Author

brentru commented Apr 21, 2023

Failing on ESP32, needs adafruit/Adafruit_MQTT_Library#222 first

Copy link

@caternuson caternuson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm once CI is happy

@brentru
Copy link
Member Author

brentru commented Apr 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants