Skip to content
Snippets Groups Projects
Commit d47c379f authored by Maximilian Schnabel's avatar Maximilian Schnabel
Browse files

disabled warning when calling connect() with an already established connection due to confusion

parent c55f886d
Branches
No related tags found
2 merge requests!7Keep going if mountpoint exists (persistent),!6Docs NXT compatibility
...@@ -174,7 +174,9 @@ classdef EV3 < MaskedHandle ...@@ -174,7 +174,9 @@ classdef EV3 < MaskedHandle
if ev3.isConnected if ev3.isConnected
if isCommInterfaceValid(ev3.commInterface) if isCommInterfaceValid(ev3.commInterface)
warning('EV3::connect: Already connected. Resetting connection now...'); % Warning lead to confusion of students. Since brick connection is still working
% even if calling connect() multiple times, it is disabled.
% warning('EV3::connect: Already connected. Resetting connection now...');
ev3.disconnect(); ev3.disconnect();
else else
warning(['EV3::connect: EV3.isConnected is set to ''True'', but ',... warning(['EV3::connect: EV3.isConnected is set to ''True'', but ',...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment