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

disabled warning when calling connect() with an already established...

disabled warning when calling connect() with an already established connection, because of unnecessary confusion 
parent 238631b5
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,9 @@ classdef EV3 < MaskedHandle ...@@ -170,7 +170,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