Prettified Code!

This commit is contained in:
DJ2LS 2023-02-15 13:20:56 +00:00 committed by GitHub Action
parent 8978f218fd
commit 706e87d226

View file

@ -1694,9 +1694,9 @@ ipcRenderer.on("action-update-tnc-state", (event, arg) => {
var speedDataSnr = [];
for (var i = 0; i < speed_listSize; i++) {
let snr = NaN;
if(arg.speed_list[i].snr !== 0){
snr = arg.speed_list[i].snr;
}
if (arg.speed_list[i].snr !== 0) {
snr = arg.speed_list[i].snr;
}
speedDataSnr.push(arg.speed_list[i].snr);
}