mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Fixes #1925
This commit is contained in:
parent
ae16191e76
commit
895bc26f77
6 changed files with 67 additions and 0 deletions
|
@ -543,6 +543,14 @@ void evalFunctions()
|
|||
newActiveFunctions |= (1 << FUNCTION_BACKLIGHT);
|
||||
break;
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
case FUNC_SCREENSHOT:
|
||||
if (!(functionsContext.activeSwitches & switch_mask)) {
|
||||
writeScreenshot("screenshot.bmp");
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG)
|
||||
case FUNC_TEST:
|
||||
testFunc();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue