From a851d00934a4c6e6e52c64359163d25d8f224e3e Mon Sep 17 00:00:00 2001 From: Tim Stadtmann <tim.stadtmann@rwth-aachen.de> Date: Tue, 13 Jun 2017 14:21:36 +0200 Subject: [PATCH] Fixes recursive disconnect-call ... that leads to bazillion error messages when there is an unexpected connection error. --- source/EV3.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/EV3.m b/source/EV3.m index fbbe7b3..1f598f1 100644 --- a/source/EV3.m +++ b/source/EV3.m @@ -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 -- GitLab