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
......@@ -174,7 +174,9 @@ classdef EV3 < MaskedHandle
if ev3.isConnected
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();
else
warning(['EV3::connect: EV3.isConnected is set to ''True'', but ',...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment