mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
fixed wrong dxgrid information
This commit is contained in:
parent
034577144b
commit
44395c32f4
|
@ -1400,6 +1400,12 @@ ipcRenderer.on('action-update-tnc-state', (event, arg) => {
|
|||
document.title = documentTitle[0] + 'Call: ' + arg.mycallsign;
|
||||
}
|
||||
|
||||
// update mygrid information with data from tnc
|
||||
if (typeof(arg.mygrid) !== 'undefined') {
|
||||
document.getElementById("myGrid").value = arq.mygrid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TOE TIME OF EXECUTION --> How many time needs a command to be executed until data arrives
|
||||
// deactivated this feature, beacuse its useless at this time. maybe it is getting more interesting, if we are working via network
|
||||
|
|
|
@ -196,6 +196,7 @@ client.on('data', function(socketdata) {
|
|||
|
||||
let Data = {
|
||||
mycallsign: data['mycallsign'],
|
||||
mygrid: data['mygrid'],
|
||||
ptt_state: data['ptt_state'],
|
||||
busy_state: data['tnc_state'],
|
||||
arq_state: data['arq_state'],
|
||||
|
|
|
@ -658,6 +658,7 @@ def send_tnc_state():
|
|||
"beacon_state": str(static.BEACON_STATE),
|
||||
"stations": [],
|
||||
"mycallsign": str(static.MYCALLSIGN, encoding),
|
||||
"mygrid": str(static.MYGRID, encoding),
|
||||
"dxcallsign": str(static.DXCALLSIGN, encoding),
|
||||
"dxgrid": str(static.DXGRID, encoding),
|
||||
"hamlib_status": static.HAMLIB_STATUS,
|
||||
|
|
Loading…
Reference in a new issue