make 9600 as a common baudrate
This commit is contained in:
parent
6c0325ec54
commit
ed73d61854
|
@ -28,12 +28,12 @@ const store = new Store({
|
|||
store.set("menu.hidden", true);
|
||||
store.set("menu.tab", "general");
|
||||
|
||||
store.set("baudIndex", 2);
|
||||
store.set("baudIndex", 3);
|
||||
store.set("pathIndex", 0);
|
||||
|
||||
store.set("general.hexmode", false);
|
||||
store.set("general.timestamp", false);
|
||||
store.set("general.customized", 9600);
|
||||
store.set("general.customized", 4800);
|
||||
store.set("general.databitsIndex", 0);
|
||||
store.set("general.parityIndex", 0);
|
||||
store.set("general.stopbitsIndex", 0);
|
||||
|
@ -437,7 +437,7 @@ document.getElementById("modem-signal-switch").onclick = (e) => {
|
|||
document.getElementById("customized").onblur = (e) => {
|
||||
let customized = parseInt(e.target.value);
|
||||
|
||||
if (isNaN(customized) === true) customized = 9600;
|
||||
if (isNaN(customized) === true) customized = 4800;
|
||||
configUpdate("general.customized", customized);
|
||||
|
||||
let baudSelect = document.getElementById("baud-select");
|
||||
|
|
|
@ -428,10 +428,11 @@
|
|||
<div class="input-field col s3" id="baud-input">
|
||||
<div class="container">
|
||||
<select id="baud-select">
|
||||
<option value="1">9600</option>
|
||||
<option value="2">19200</option>
|
||||
<option value="3" selected>115200</option>
|
||||
<option value="4">921600</option>
|
||||
<option value="1">4800</option>
|
||||
<option value="2">9600</option>
|
||||
<option value="3">19200</option>
|
||||
<option value="4" selected>115200</option>
|
||||
<option value="5">921600</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue