chore(radio): exclude custom functions not relevant to handset (#5523)

This commit is contained in:
philmoz
2024-09-11 12:02:57 +10:00
committed by GitHub
parent 045ad32495
commit 7c7074e0b3
21 changed files with 1116 additions and 64 deletions
-9
View File
@@ -590,18 +590,9 @@ bool isAssignableFunctionAvailable(int function, bool modelFunctions)
case FUNC_RGB_LED:
return false;
#endif
#if !defined(VIDEO_SWITCH)
case FUNC_LCD_TO_VIDEO:
return false;
#endif
#if !defined(DEBUG)
case FUNC_TEST:
return false;
#endif
#if !defined(COLORLCD)
case FUNC_DISABLE_TOUCH:
case FUNC_SET_SCREEN:
return false;
#endif
default:
return true;