You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-06-13 10:01:31 +03:00
This commit is contained in:
@ -88,7 +88,7 @@ bool Adafruit_MQTT_Client::sendPacket(uint8_t *buffer, uint16_t len) {
|
||||
len -= ret;
|
||||
|
||||
if (ret != sendlen) {
|
||||
DEBUG_PRINTLN("Failed to send complete packet.");
|
||||
DEBUG_PRINTLN("Failed to send packet.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
@ -123,7 +123,7 @@ class Adafruit_MQTT_FONA : public Adafruit_MQTT {
|
||||
boolean ret = fona->TCPsend((char *)buffer, len);
|
||||
//DEBUG_PRINT(F("sendPacket returned: ")); DEBUG_PRINTLN(ret);
|
||||
if (!ret) {
|
||||
DEBUG_PRINTLN("Failed to send packet.")
|
||||
DEBUG_PRINTLN("Failed to send packet.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user