This commit is contained in:
bsongis
2015-02-17 19:53:20 +01:00
parent ae16191e76
commit 895bc26f77
6 changed files with 67 additions and 0 deletions
+8
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();