From 2f9c3d14c9da58c577540233c273fb372949cd76 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Sun, 12 Feb 2023 16:46:54 +0000 Subject: [PATCH] Prettified Code! --- gui/sock.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gui/sock.js b/gui/sock.js index a5794889..2ab266d7 100644 --- a/gui/sock.js +++ b/gui/sock.js @@ -680,11 +680,15 @@ exports.sendTestFrame = function () { // SEND FEC 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); }; - // RECORD AUDIO exports.record_audio = function () { command = '{"type" : "set", "command" : "record_audio"}';