mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 08:49:16 +02:00
send users to rawcomm
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* Libraries / Imports */
|
||||
const send_to_rawcomm = require('./rawcomm');
|
||||
const RDSDecoder = require("./rds.js");
|
||||
const { serverConfig } = require('./server_config');
|
||||
|
||||
@@ -273,6 +274,7 @@ checkSerialPortStatus();
|
||||
function showOnlineUsers(currentUsers) {
|
||||
dataToSend.users = currentUsers;
|
||||
initialData.users = currentUsers;
|
||||
send_to_rawcomm(`o${currentUsers},0\n`);
|
||||
}
|
||||
|
||||
let prevFreq = initialData.freq || '87.500';
|
||||
|
||||
Reference in New Issue
Block a user