From fa36f7e0a1a46576b1f889fb68001d6c03ffda4f Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 20 Mar 2019 19:11:24 +0100 Subject: [PATCH] Compilation fix --- radio/src/lua/api_general.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/lua/api_general.cpp b/radio/src/lua/api_general.cpp index d14631ed5..1b8fc911d 100644 --- a/radio/src/lua/api_general.cpp +++ b/radio/src/lua/api_general.cpp @@ -439,6 +439,7 @@ static int luaSportTelemetryPush(lua_State * L) return 1; } +#if defined(PXX2) /*luadoc @function pxx2TelemetryPush() @@ -491,6 +492,7 @@ static int luaPXX2TelemetryPush(lua_State * L) } return 1; } +#endif #if defined(CROSSFIRE) /*luadoc