Skip to content
Snippets Groups Projects
Commit 153e91f1 authored by Johannes Sauer's avatar Johannes Sauer
Browse files

Merge branch '55-testallmotorsandsensors-m-not-working-for-bluetooth' into 'dev_ubuntu18.04'

only try the second bt connection if the first one failed

See merge request !4
parents 16fd2036 1d77ce9f
No related tags found
3 merge requests!11Dev ubuntu20.04,!9Dev ubuntu20.04,!4only try the second bt connection if the first one failed
......@@ -54,10 +54,11 @@ while connected==0
pause();
try b.connect('bt', 'serPort', '/dev/rfcomm0')
catch all
end;
try b.connect('bt', 'serPort', '/dev/rfcomm1')
catch all
end;
end;
pause(1);
connected = b.isConnected();
i=i+1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment