Prettified Code!

This commit is contained in:
DJ2LS 2023-02-12 16:46:54 +00:00 committed by GitHub Action
parent 2292898f1a
commit 2f9c3d14c9

View file

@ -680,11 +680,15 @@ exports.sendTestFrame = function () {
// SEND FEC // SEND FEC
exports.sendFEC = function (mode, payload) { exports.sendFEC = function (mode, payload) {
command = '{"type" : "fec", "command" : "send_fec", "mode" : "' + mode + '", "payload" : "' + payload + '"}'; command =
'{"type" : "fec", "command" : "send_fec", "mode" : "' +
mode +
'", "payload" : "' +
payload +
'"}';
writeTncCommand(command); writeTncCommand(command);
}; };
// RECORD AUDIO // RECORD AUDIO
exports.record_audio = function () { exports.record_audio = function () {
command = '{"type" : "set", "command" : "record_audio"}'; command = '{"type" : "set", "command" : "record_audio"}';