Skip to content

Commit 661c536

Browse files
committed
add code to shut down connection with eye tracker
1 parent e603ccb commit 661c536

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cleanUp.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@ function cleanUp()
1616
% Screen Close All
1717
sca;
1818

19+
% % Shut down connection with Eyelink
20+
if cfg.eyeTracker.do
21+
Eyelink('shutdown');
22+
end
23+
1924
% Close Psychportaudio if open
2025
if PsychPortAudio('GetOpenDeviceCount') ~= 0
2126
PsychPortAudio('Close');
2227
end
2328

2429
if ~ismac
25-
% remove PsychDebugWindowConfiguration
30+
% Remove PsychDebugWindowConfiguration
2631
clear Screen;
2732
end
2833

0 commit comments

Comments
 (0)