fixed typo (#7991)

This commit is contained in:
musapinar
2020-10-05 10:46:30 +02:00
committed by GitHub
parent 9b0e0d46d8
commit 21c63df50a
+2 -2
View File
@@ -385,7 +385,7 @@ Return rotary encoder current speed
@status current Introduced in 2.3.10
*/
static int luGetRotEncSpeed(lua_State * L)
static int luaGetRotEncSpeed(lua_State * L)
{
#if defined(ROTARY_ENCODER_NAVIGATION)
lua_pushunsigned(L, rotencSpeed);
@@ -1700,7 +1700,7 @@ const luaL_Reg opentxLib[] = {
{ "getVersion", luaGetVersion },
{ "getGeneralSettings", luaGetGeneralSettings },
{ "getGlobalTimer", luaGetGlobalTimer },
{ "getRotEncSpeed", luGetRotEncSpeed },
{ "getRotEncSpeed", luaGetRotEncSpeed },
{ "getValue", luaGetValue },
{ "getRAS", luaGetRAS },
{ "getTxGPS", luaGetTxGPS },