summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 14:40:52 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-11 14:40:52 -0400
commit6457a5852ed86a6c7b77a189de51cce981ee5e20 (patch)
treecf643cc9281f2f160bceb193197fbe9c030c9036
parentdb53602d19e2d9c42400d7734a21843ddc47577b (diff)
downloadnodeMCU_rf_source_lmx2487-6457a5852ed86a6c7b77a189de51cce981ee5e20.tar.gz
nodeMCU_rf_source_lmx2487-6457a5852ed86a6c7b77a189de51cce981ee5e20.zip
report version on startup
-rw-r--r--main.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 58cc935..8d44b51 100644
--- a/main.lua
+++ b/main.lua
@@ -14,6 +14,12 @@ dofile("binaryLib.lua")
dofile("microwire.lua")
dofile("lmx2487lib.lua")
+if file.exists("version.lua") then
+ dofile("version.lua")
+else
+ print("Unknown version of lua scripts")
+end
+
-- if you want benchmarking do
-- dofile("bench_lmx2487.lua")