mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
2292898f1a
commit
2f9c3d14c9
1 changed files with 6 additions and 2 deletions
|
@ -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"}';
|
||||
|
|
Loading…
Reference in a new issue