feat(bw): add 'Set Screen' special function to B&W radios (#5589)
This commit is contained in:
@@ -3102,9 +3102,9 @@ LROT_BEGIN(etxcst, NULL, 0)
|
||||
#if defined(FUNCTION_SWITCHES)
|
||||
LROT_NUMENTRY( FUNC_PUSH_CUST_SWITCH, FUNC_PUSH_CUST_SWITCH )
|
||||
#endif
|
||||
LROT_NUMENTRY( FUNC_SET_SCREEN, FUNC_SET_SCREEN )
|
||||
#if defined(COLORLCD)
|
||||
LROT_NUMENTRY( FUNC_DISABLE_TOUCH, FUNC_DISABLE_TOUCH )
|
||||
LROT_NUMENTRY( FUNC_SET_SCREEN, FUNC_SET_SCREEN )
|
||||
|
||||
LROT_NUMENTRY( SHADOWED, SHADOWED )
|
||||
// ZoneType::Integer == INPUT_TYPE_VALUE - use VALUE in widget options
|
||||
|
||||
@@ -695,7 +695,7 @@ bool isTelemetryScriptAvailable()
|
||||
#if defined(PCBTARANIS)
|
||||
for (int i = 0; i < luaScriptsCount; i++) {
|
||||
ScriptInternalData & sid = scriptInternalData[i];
|
||||
if (sid.reference == SCRIPT_TELEMETRY_FIRST + s_frsky_view) {
|
||||
if (sid.reference == SCRIPT_TELEMETRY_FIRST + selectedTelemView) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -1040,7 +1040,7 @@ static bool resumeLua(bool init, bool allowLcdUsage)
|
||||
if (allowLcdUsage) {
|
||||
#if defined(PCBTARANIS)
|
||||
if ((menuHandlers[menuLevel] == menuViewTelemetry &&
|
||||
ref == SCRIPT_TELEMETRY_FIRST + s_frsky_view) ||
|
||||
ref == SCRIPT_TELEMETRY_FIRST + selectedTelemView) ||
|
||||
ref == SCRIPT_STANDALONE) {
|
||||
#else
|
||||
if (ref == SCRIPT_STANDALONE) {
|
||||
|
||||
Reference in New Issue
Block a user