From 6b49119af7493074f694da3a5b4399fb562f0971 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 8 Jul 2014 08:04:05 +0200 Subject: [PATCH] getValue(...) Lua identifiers more consistent --- radio/src/lua.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/lua.cpp b/radio/src/lua.cpp index 9d780340b..a45ecf4ad 100644 --- a/radio/src/lua.cpp +++ b/radio/src/lua.cpp @@ -192,11 +192,11 @@ static int luaGetValue(lua_State *L) lua_pushnumber(L, gpsToDouble(frskyData.hub.gpsLongitudeEW=='W', frskyData.hub.gpsLongitude_bp, frskyData.hub.gpsLongitude_ap)); return 1; } - else if (!strcmp(what, "pilot latitude")) { + else if (!strcmp(what, "pilot-latitude")) { lua_pushnumber(L, pilotLatitude); return 1; } - else if (!strcmp(what, "pilot longitude")) { + else if (!strcmp(what, "pilot-longitude")) { lua_pushnumber(L, pilotLongitude); return 1; }