Skip to content

Commit

Permalink
fix error description
Browse files Browse the repository at this point in the history
  • Loading branch information
zivillian committed Jul 25, 2022
1 parent c39469e commit 7255462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void setupPages(AsyncWebServer *server, ModbusClientRTU *rtu, ModbusBridgeWiFi *
response->print("</span>");
}
else{
response->printf("<span class=\"e\">Error: %#02x (%s)</span>", error, ErrorName(error));
response->printf("<span class=\"e\">Error: %#02x (%s)</span>", error, ErrorName(error).c_str());
}
sendDebugForm(response, slaveId, reg, func, count);
sendButton(response, "Back", "/");
Expand Down

0 comments on commit 7255462

Please sign in to comment.