Commit b7adc61f authored by Jesse Heckman's avatar Jesse Heckman

implement wait for trigger

parent acc5d11e
...@@ -74,8 +74,8 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg) ...@@ -74,8 +74,8 @@ function [stim, cfg] = pb_vSetupTrial(stim,cfg)
%% WAIT %% WAIT
ev = 0; ev = [stim.offevent];
de = 2500; de = [stim.offdelay];
if isfield(stim,'offevent'); ev = stim.offevent; end if isfield(stim,'offevent'); ev = stim.offevent; end
if isfield(stim,'offdelay'); de = stim.offdelay; end if isfield(stim,'offdelay'); de = stim.offdelay; end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment