You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-27 06:23:53 +01:00
serial hotfix
This commit is contained in:
@@ -63,6 +63,7 @@ connectToXdrd();
|
|||||||
connectToSerial();
|
connectToSerial();
|
||||||
|
|
||||||
// Serial Connection
|
// Serial Connection
|
||||||
|
function connectToSerial() {
|
||||||
if (serverConfig.xdrd.wirelessConnection === false) {
|
if (serverConfig.xdrd.wirelessConnection === false) {
|
||||||
|
|
||||||
// Configure the SerialPort with DTR and RTS options
|
// Configure the SerialPort with DTR and RTS options
|
||||||
@@ -118,7 +119,7 @@ if (serverConfig.xdrd.wirelessConnection === false) {
|
|||||||
|
|
||||||
return serialport;
|
return serialport;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// xdrd connection
|
// xdrd connection
|
||||||
function connectToXdrd() {
|
function connectToXdrd() {
|
||||||
const { xdrd } = serverConfig;
|
const { xdrd } = serverConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user