attempt with SNR in Ping window

This commit is contained in:
DJ2LS 2021-07-28 18:55:12 +02:00 committed by GitHub
parent 0552b7eb21
commit e3cb2eb46a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ window.addEventListener('DOMContentLoaded', () => {
filetype: 'txt',
filename: 'testfile',
data: '1234567',
crc: '123123123',
checksum: '123123123',
};
ipcRenderer.send('run-tnc-command', Data);

View file

@ -307,8 +307,8 @@ for (i = 0; i < arg.stations.length; i++) {
// first we update the PING window
console.log(document.getElementById("dxCall").value)
if (arg.stations[i]['DXCALLSIGN'] == document.getElementById("dxCall").value){
document.getElementById("pingDistance") = arg.stations[i]['DXGRID']
document.getElementById("pingDB") = arg.stations[i]['SNR']
document.getElementById("pingDistance").innerHTML = arg.stations[i]['DXGRID']
document.getElementById("pingDB").innerHTML = arg.stations[i]['SNR']
}