1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

fixed typo (#7991)

This commit is contained in:
musapinar 2020-10-05 10:46:30 +02:00 committed by GitHub
parent 9b0e0d46d8
commit 21c63df50a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,7 +385,7 @@ Return rotary encoder current speed
@status current Introduced in 2.3.10 @status current Introduced in 2.3.10
*/ */
static int luGetRotEncSpeed(lua_State * L) static int luaGetRotEncSpeed(lua_State * L)
{ {
#if defined(ROTARY_ENCODER_NAVIGATION) #if defined(ROTARY_ENCODER_NAVIGATION)
lua_pushunsigned(L, rotencSpeed); lua_pushunsigned(L, rotencSpeed);
@ -1700,7 +1700,7 @@ const luaL_Reg opentxLib[] = {
{ "getVersion", luaGetVersion }, { "getVersion", luaGetVersion },
{ "getGeneralSettings", luaGetGeneralSettings }, { "getGeneralSettings", luaGetGeneralSettings },
{ "getGlobalTimer", luaGetGlobalTimer }, { "getGlobalTimer", luaGetGlobalTimer },
{ "getRotEncSpeed", luGetRotEncSpeed }, { "getRotEncSpeed", luaGetRotEncSpeed },
{ "getValue", luaGetValue }, { "getValue", luaGetValue },
{ "getRAS", luaGetRAS }, { "getRAS", luaGetRAS },
{ "getTxGPS", luaGetTxGPS }, { "getTxGPS", luaGetTxGPS },