1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00
This commit is contained in:
bsongis 2015-02-14 18:26:08 +01:00
parent ae16191e76
commit 895bc26f77
6 changed files with 67 additions and 0 deletions

View file

@ -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();