You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-21 18:22:06 +03:00
Revert "Fix connectErrorString return type for ESP-32 BSP 2.0.8"
This commit is contained in:
@ -327,11 +327,7 @@ uint16_t Adafruit_MQTT::readFullPacket(uint8_t *buffer, uint16_t maxsize,
|
||||
return ((pbuff - buffer) + rlen);
|
||||
}
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
const char *Adafruit_MQTT::connectErrorString(int8_t code) {
|
||||
#else
|
||||
const __FlashStringHelper *Adafruit_MQTT::connectErrorString(int8_t code) {
|
||||
#endif
|
||||
switch (code) {
|
||||
case 1:
|
||||
return F(
|
||||
|
Reference in New Issue
Block a user