mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 12:25:12 +03:00
SWR fixes
This commit is contained in:
parent
96fa03a10d
commit
3830007fd2
5 changed files with 42 additions and 63 deletions
|
@ -672,7 +672,7 @@ This is just a hardware pass/fail measure and does not represent the quality of
|
|||
*/
|
||||
static int luaGetRAS(lua_State * L)
|
||||
{
|
||||
if (!IS_RAS_VALUE_VALID(telemetryData.xjtVersion)) {
|
||||
if (isRasValueValid()) {
|
||||
lua_pushinteger(L, telemetryData.swrInternal.value);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue