Skip to content

Commit 245b458

Browse files
marcobarilariRemi-Gau
authored andcommitted
clean up waitFor
1 parent 55fcdd9 commit 245b458

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/waitFor.m

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ function waitFor(cfg, timeToWait)
77
% waitFor(cfg, timeToWait)
88
%
99
% (C) Copyright 2020 CPP_PTB developers
10-
if cfg.pacedByTriggers.do
11-
waitForTrigger( ...
12-
cfg, ...
13-
cfg.keyboard.responseBox, ...
14-
cfg.pacedByTriggers.quietMode, ...
15-
timeToWait);
16-
else
17-
WaitSecs(timeToWait);
18-
end
10+
11+
WaitSecs(timeToWait);
1912

2013
end

0 commit comments

Comments
 (0)