Skip to content

Commit

Permalink
fix modbus stop bit config
Browse files Browse the repository at this point in the history
  • Loading branch information
zivillian committed Jul 16, 2022
1 parent 9390e07 commit c39469e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ void setupPages(AsyncWebServer *server, ModbusClientRTU *rtu, ModbusBridgeWiFi *
"</td>"
"<td>");
response->printf("<select id=\"ms\" name=\"ms\" data-value=\"%d\">", config->getModbusStopBits());
response->print("<option value=\"0\">None</option>"
"<option value=\"2\">Even</option>"
"<option value=\"3\">Odd</option>"
response->print("<option value=\"1\">1 bit</option>"
"<option value=\"2\">1.5 bits</option>"
"<option value=\"3\">2 bits</option>"
"</select>"
"</td>"
"</tr>"
Expand Down

0 comments on commit c39469e

Please sign in to comment.