This commit is contained in:
Luc 2020-06-14 15:28:25 +02:00
parent ad562634a2
commit 268d492c3f
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ bool Commands::ESP900(const char* cmd_params, level_authenticate_type auth_type,
}
} else { //set
if (parameter == "ENABLE" ) {
if (!serial_service.begin()) {
if (serial_service.begin()) {
output->printMSG ("Serial communication enabled");
} else {
output->printERROR("Cannot enable serial communication!", 500);

View File

@ -211,7 +211,7 @@ bool NotificationsService::sendPushoverMSG(const char * title, const char * mess
data = "user=";
data += _token1;
data += "&token=";
data += _token2;;
data += _token2;
data +="&title=";
data += title;
data += "&message=";

View File

@ -213,7 +213,7 @@ uint8_t WebSocket_Server::get_currentID()
size_t WebSocket_Server::write(uint8_t c)
{
return write(&c,1);;
return write(&c,1);
}
size_t WebSocket_Server::write(const uint8_t *buffer, size_t size)