1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 06:15:10 +03:00

7 of 8 ...

This commit is contained in:
3djc 2020-09-25 13:59:42 +02:00
parent 8a93eb8461
commit c6f2c62919

View file

@ -867,7 +867,7 @@ Return the internal GPS position or nil if no valid hardware found
static int luaGetTxGPS(lua_State * L)
{
#if defined(INTERNAL_GPS)
lua_createtable(L, 0, 7);
lua_createtable(L, 0, 8);
lua_pushtablenumber(L, "lat", gpsData.latitude * 0.000001);
lua_pushtablenumber(L, "lon", gpsData.longitude * 0.000001);
lua_pushtableinteger(L, "numsat", gpsData.numSat);