Skip to content
Snippets Groups Projects
Commit a851d009 authored by Tim Stadtmann's avatar Tim Stadtmann
Browse files

Fixes recursive disconnect-call

... that leads to bazillion error messages when there is an unexpected
connection error.
parent 89befd3c
No related branches found
No related tags found
No related merge requests found
......@@ -491,7 +491,7 @@ classdef EV3 < MaskedHandle
catch ME
if ~isempty(strfind(ME.identifier, 'CommError'))
warning('Lost connection to the Brick!');
ev3.disconnect();
%ev3.disconnect();
else
warning('Something went wrong. Try to reset the connection.');
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment