ESP8266 - Fixed incorrect return statement
This commit is contained in:
parent
0ca357ab2b
commit
1bf806143a
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ uint8_t ESP8266::MqttCheck(void (*func)(const char*, const char*)) {
|
|||
}
|
||||
delete[] dataIn;
|
||||
|
||||
return(MQTT_NO_NEW_PACKET);
|
||||
return(ERR_MQTT_NO_NEW_PACKET_AVAILABLE);
|
||||
}
|
||||
|
||||
uint8_t ESP8266::send(const char* data) {
|
||||
|
|
Loading…
Add table
Reference in a new issue