Skip to content
Snippets Groups Projects
Commit 4e1e54cd authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter
Browse files

bugfix: check if already prepared

parent e8697bba
No related branches found
No related tags found
No related merge requests found
......@@ -216,6 +216,9 @@ classdef itaMotorControlNanotec < itaMotorControl
error('Only HRTFArc or Turntable supported');
end
if ~isempty(this.preparedList)
error('Already prepared?');
end
% get the preangle and the speed
sArgs.preAngle = 0;
sArgs.speed = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment