From bcde2651b76d2633d3e8a42485753911ac659117 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 18 Apr 2019 22:56:17 +0200 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 81993e0ce..5cf1126b0 100644 --- a/radio/src/lua/api_general.cpp +++ b/radio/src/lua/api_general.cpp @@ -458,6 +458,7 @@ static int luaSportTelemetryPush(lua_State * L) return 1; } +#if defined(PXX2) /*luadoc @function accessTelemetryPush() @@ -508,6 +509,7 @@ static int luaAccessTelemetryPush(lua_State * L) lua_pushboolean(L, false); return 1; } +#endif #if defined(CROSSFIRE) /*luadoc