Skip to content

Commit ca20b19

Browse files
committed
fix travis' suggestions pt3
1 parent 36c6882 commit ca20b19

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/eyeTracker.m

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
if ELinit ~= 0
5959
fprintf('Eyelink is not initialized, aborted.\n');
6060
Eyelink('Shutdown');
61-
CleanUp()
61+
CleanUp();
6262
return
6363
end
6464

@@ -68,14 +68,14 @@
6868
if ELconnection ~= 1
6969
fprintf('Eyelink is not connected, aborted.\n');
7070
Eyelink('Shutdown');
71-
CleanUp()
71+
CleanUp();
7272
return
7373
end
7474

7575
% Last check that the EL is up to work and exit program if this fails.
7676
if ~EyelinkInit(0, 1)
7777
fprintf('Eyelink Init aborted.\n');
78-
CleanUp()
78+
CleanUp();
7979
return
8080
end
8181

@@ -117,24 +117,24 @@
117117

118118
% [width, height]=Screen('WindowSize', screenNumber);
119119

120-
Eyelink('command','calibration_samples = 6');
121-
Eyelink('command','calibration_sequence = 0,1,2,3,4,5');
122-
Eyelink('command','calibration_targets = %d,%d %d,%d %d,%d %d,%d %d,%d',...
123-
640,512, ... %width/2,height/2
124-
640,102, ... %width/2,height*0.1
125-
640,614, ... %width/2,height*0.6
126-
128,341, ... %width*0.1,height*1/3
127-
1152,341 ); %width-width*0.1,height*1/3
120+
Eyelink('command', 'calibration_samples = 6');
121+
Eyelink('command', 'calibration_sequence = 0,1,2,3,4,5');
122+
Eyelink('command', 'calibration_targets = %d,%d %d,%d %d,%d %d,%d %d,%d', ...
123+
640, 512, ... % width/2,height/2
124+
640, 102, ... % width/2,height*0.1
125+
640, 614, ... % width/2,height*0.6
126+
128, 341, ... % width*0.1,height*1/3
127+
1152, 341); % width-width*0.1,height*1/3
128128

129129
% Validation target locations
130-
Eyelink('command','validation_samples = 5');
131-
Eyelink('command','validation_sequence = 0,1,2,3,4,5');
132-
Eyelink('command','validation_targets = %d,%d %d,%d %d,%d %d,%d %d,%d',...
133-
640,512, ... %width/2,height/2
134-
640,102, ... %width/2,height*0.1
135-
640,614, ... %width/2,height*0.6
136-
128,341, ... %width*0.1,height*1/3
137-
1152,341 ); %width-width*0.1,height*1/3
130+
Eyelink('command', 'validation_samples = 5');
131+
Eyelink('command', 'validation_sequence = 0,1,2,3,4,5');
132+
Eyelink('command', 'validation_targets = %d,%d %d,%d %d,%d %d,%d %d,%d', ...
133+
640, 512, ... % width/2,height/2
134+
640, 102, ... % width/2,height*0.1
135+
640, 614, ... % width/2,height*0.6
136+
128, 341, ... % width*0.1,height*1/3
137+
1152, 341); % width-width*0.1,height*1/3
138138

139139
end
140140

0 commit comments

Comments
 (0)