Push some dirty hack to give internal CRSF a higher prio
This allows for BF scripts to run on internal CRSF.
This commit is contained in:
committed by
Raphael Coeffic
parent
9c50255905
commit
5e3c20b258
@@ -494,7 +494,8 @@ When called without parameters, it will only return the status of the output buf
|
|||||||
|
|
||||||
static int luaSportTelemetryPush(lua_State * L)
|
static int luaSportTelemetryPush(lua_State * L)
|
||||||
{
|
{
|
||||||
if (!IS_FRSKY_SPORT_PROTOCOL()) {
|
// dirty hack until 2 simultanous protocols are supported
|
||||||
|
if (isModuleCrossfire(INTERNAL_MODULE) || !IS_FRSKY_SPORT_PROTOCOL()) {
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user