disable signal set on port open, this cause some device reboot, which is not expected.
This commit is contained in:
parent
ee858787dd
commit
06ba8f406d
|
@ -159,9 +159,10 @@ document.getElementById("port-switch").onclick = (e) => {
|
|||
if (config.general.modemSignal === true) {
|
||||
modemSignalTimer = setInterval(modemSignalTimerHandle, 100);
|
||||
}
|
||||
port.set({ rts: true, dtr: true }, (e) => {
|
||||
if (e !== null) console.error(e);
|
||||
});
|
||||
// Set below signal will cause some device reboot.
|
||||
// port.set({ rts: true, dtr: true }, (e) => {
|
||||
// if (e !== null) console.error(e);
|
||||
// });git
|
||||
});
|
||||
|
||||
port.on("error", (e) => {
|
||||
|
|
Loading…
Reference in New Issue