We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b448073 commit f4804e8Copy full SHA for f4804e8
src/screen/farewellScreen.m
@@ -5,6 +5,8 @@ function farewellScreen(cfg)
5
Screen('FillRect', cfg.screen.win, cfg.color.background, cfg.screen.winRect);
6
DrawFormattedText(cfg.screen.win, 'Thank you!', 'center', 'center', cfg.text.color);
7
Screen('Flip', cfg.screen.win);
8
- WaitSecs(cfg.mri.repetitionTime * 2);
+ if isfield(cfg, 'mri')
9
+ WaitSecs(cfg.mri.repetitionTime * 2);
10
+ end
11
12
end
0 commit comments