1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-18 05:45:21 +03:00

Revert "[ARM boards] Imperial parameter removed"

This reverts commit 79e727a149.
This commit is contained in:
bsongis 2015-03-31 23:08:37 +02:00
parent 9886dede73
commit 8dadb5346b
6 changed files with 28 additions and 6 deletions

View file

@ -339,6 +339,7 @@ static int luaGetGeneralSettings(lua_State *L)
lua_newtable(L);
lua_pushtablenumber(L, "battMin", double(90+g_eeGeneral.vBatMin)/10);
lua_pushtablenumber(L, "battMax", double(120+g_eeGeneral.vBatMax)/10);
lua_pushtableinteger(L, "imperial", g_eeGeneral.imperial);
return 1;
}