Re #1480: added TELEM_MAX_ASPEED conversion in luaGetValueAndPush()

This commit is contained in:
Damjan Adamic
2014-07-18 10:41:16 +02:00
parent 2f01f139cc
commit 0a9dcc5ce6
+1
View File
@@ -120,6 +120,7 @@ static void luaGetValueAndPush(int src)
case MIXSRC_FIRST_TELEM-1+TELEM_CURRENT:
case MIXSRC_FIRST_TELEM-1+TELEM_MAX_CURRENT:
case MIXSRC_FIRST_TELEM-1+TELEM_ASPEED:
case MIXSRC_FIRST_TELEM-1+TELEM_MAX_ASPEED:
//theese need to be divided by 10
lua_pushnumber(L, getValue(src)/10.0);
break;