summaryrefslogtreecommitdiff
path: root/freq2lmx2487settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'freq2lmx2487settings.lua')
-rw-r--r--freq2lmx2487settings.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/freq2lmx2487settings.lua b/freq2lmx2487settings.lua
index 6eb2588..d36f9e1 100644
--- a/freq2lmx2487settings.lua
+++ b/freq2lmx2487settings.lua
@@ -62,8 +62,7 @@ function copySettings(old)
end
--------- SLICE AND REPLACE ------------
-function FreqToSettings(freq, old_settings) --create table with new values of R0, R1, and R5
- local settings= copySettings(old_settings)
+function FreqToSettings(freq, settings) --create table with new values of R0, R1, and R5
local freq, RF_N, RF_FN, RF_FD = freq2regestersValues(freq)
local bRF_N=toBits(RF_N)