From bff912aef60bccb2376446c2cee8f6ea8e45cbc5 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 28 Apr 2014 17:23:58 +0200 Subject: [PATCH] Renamed __luaGetValue() to luaGetValueAndPush() --- radio/src/lua.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/radio/src/lua.cpp b/radio/src/lua.cpp index d68d083c8..f10a60e10 100644 --- a/radio/src/lua.cpp +++ b/radio/src/lua.cpp @@ -90,7 +90,7 @@ static int luaGetTime(lua_State *L) return 1; } -static void __luaGetValue(int src) +static void luaGetValueAndPush(int src) { /* else if (i==MIXSRC_FIRST_TELEM-1+TELEM_RPM) return frskyData.hub.rpm; @@ -162,7 +162,7 @@ static int luaGetValue(lua_State *L) { if (lua_isnumber(L, 1)) { int src = luaL_checkinteger(L, 1); - __luaGetValue(src); + luaGetValueAndPush(src); return 1; } else { @@ -1133,8 +1133,7 @@ void luaTask(uint8_t evt) lua_rawgeti(L, LUA_REGISTRYINDEX, sid.run); for (int j=0; j