summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 11:30:07 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 11:30:07 -0400
commitc1fdd96bf5885c5b025327ca8742cbe9cdc3ec14 (patch)
tree1f435afdf952962482d525f0e2e496b8288de446
parent77354e3964199306aabc7ea82c995e9e7f6b1335 (diff)
downloadnodeMCU_rf_source_lmx2487-c1fdd96bf5885c5b025327ca8742cbe9cdc3ec14.tar.gz
nodeMCU_rf_source_lmx2487-c1fdd96bf5885c5b025327ca8742cbe9cdc3ec14.zip
converting arguments for FreqToSettings in the benchmark
-rw-r--r--bench_lmx2487.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/bench_lmx2487.lua b/bench_lmx2487.lua
index a952305..7a9a6d9 100644
--- a/bench_lmx2487.lua
+++ b/bench_lmx2487.lua
@@ -42,7 +42,6 @@ bench(function() local tTmp=bitSlice(tB,13,22) end, 10 , "bitSlice")
tB=nil
-- main time hog
-sinit= initSettings()
-bench(function() snew = FreqToSettings(6.834e9, sinit) end, 1, "FreqToSettings")
-sinit=nil
+set_lmx2487_board_to_default_state()
+bench(function() FreqToSettings(6.834e9) end, 1, "FreqToSettings")