1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

serial hotfix

This commit is contained in:
NoobishSVK
2024-07-21 22:19:33 +02:00
parent f4a8e7c298
commit 2cb8da28f0

View File

@@ -63,6 +63,7 @@ connectToXdrd();
connectToSerial();
// Serial Connection
function connectToSerial() {
if (serverConfig.xdrd.wirelessConnection === false) {
// Configure the SerialPort with DTR and RTS options
@@ -118,7 +119,7 @@ if (serverConfig.xdrd.wirelessConnection === false) {
return serialport;
}
}
// xdrd connection
function connectToXdrd() {
const { xdrd } = serverConfig;