mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge pull request #198 from DJ2LS/fix_tnc_issue188_189
This commit is contained in:
commit
fa7fe909a0
4 changed files with 347 additions and 256 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "FreeDATA",
|
||||
"version": "0.4.0-alpha.8",
|
||||
"version": "0.4.0-alpha.9",
|
||||
"description": "FreeDATA ",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -511,8 +511,9 @@ update_chat = function(obj) {
|
|||
`;
|
||||
var controlarea_receive = '';
|
||||
}
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.log("error with database parsing...")
|
||||
console.log(err)
|
||||
}
|
||||
// CALLSIGN LIST
|
||||
if (!(document.getElementById('chat-' + dxcallsign + '-list'))) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -620,8 +620,8 @@ class RF():
|
|||
|
||||
snr = round(modem_stats_snr, 1)
|
||||
structlog.get_logger("structlog").info("[MDM] calculate_snr: ", snr=snr)
|
||||
# print(snr)
|
||||
static.SNR = np.clip(snr, 0, 255) # limit to max value of 255
|
||||
# static.SNR = np.clip(snr, 0, 255) # limit to max value of 255
|
||||
static.SNR = np.clip(snr, -128, 128) # limit to max value of -128/128 as a possible fix of #188
|
||||
return static.SNR
|
||||
except Exception as e:
|
||||
structlog.get_logger("structlog").error(f"[MDM] calculate_snr: Exception: {e}")
|
||||
|
|
Loading…
Reference in a new issue