From 8df3e437f941912067231250ff5695b8a3a7fd92 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 5 Oct 2017 01:38:18 +0200 Subject: LUA lib and bin embedded in project Change-Id: I1a61b49f55e4daa305800e754a14b6041aa81b34 Signed-off-by: Romain Forlot --- conf.d/project/lua.d/init-daemon-04-oncall.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conf.d/project/lua.d') diff --git a/conf.d/project/lua.d/init-daemon-04-oncall.lua b/conf.d/project/lua.d/init-daemon-04-oncall.lua index 7dc4669..71df908 100644 --- a/conf.d/project/lua.d/init-daemon-04-oncall.lua +++ b/conf.d/project/lua.d/init-daemon-04-oncall.lua @@ -42,6 +42,8 @@ function _Unit_Converter(source, args, event) local sourcei, targeti = _positions[sourceunits], _positions[targetunits] assert(sourcei and targeti) + print(event['timestamp']) + if sourceitargeti then @@ -62,7 +64,7 @@ function _Unit_Converter(source, args, event) event["value"] = value/base - lua2c["setSignalValueWrap"](source, event) + lua2c["luaSet"](source, event) else print("No conversion") -- cgit 1.2.3-korg