mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
removed compression, incread callsign set time
okay, this needs to be tested some more...
This commit is contained in:
parent
f35ad7e591
commit
88a0628b53
|
@ -334,10 +334,10 @@ advancedHamlibSettingsModal
|
|||
|
||||
setTimeout(function() {
|
||||
sock.saveMyCall(config.mycall);
|
||||
}, 1500);
|
||||
}, 3000);
|
||||
setTimeout(function() {
|
||||
sock.saveMyGrid(config.mygrid);
|
||||
}, 1500);
|
||||
}, 3500);
|
||||
})
|
||||
|
||||
// stopTNC button clicked
|
||||
|
|
|
@ -13,7 +13,6 @@ from random import randrange
|
|||
import asyncio
|
||||
|
||||
import ujson as json
|
||||
import zlib
|
||||
import static
|
||||
import modem
|
||||
import helpers
|
||||
|
@ -54,7 +53,7 @@ RX_START_OF_TRANSMISSION = 0 # time of transmission start
|
|||
# ################################################
|
||||
|
||||
def arq_data_received(data_in, bytes_per_frame):
|
||||
data_in = zlib.decompress(data_in)
|
||||
|
||||
# we neeed to declare our global variables, so the thread has access to them
|
||||
global RX_START_OF_TRANSMISSION
|
||||
global DATA_CHANNEL_LAST_RECEIVED
|
||||
|
@ -294,7 +293,7 @@ def arq_data_received(data_in, bytes_per_frame):
|
|||
|
||||
|
||||
def arq_transmit(data_out, mode, n_frames_per_burst):
|
||||
data_out = zlib.compress(data_out)
|
||||
|
||||
global RPT_REQUEST_BUFFER
|
||||
global DATA_FRAME_ACK_RECEIVED
|
||||
global RPT_REQUEST_RECEIVED
|
||||
|
|
Loading…
Reference in a new issue