]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/trackpart.cpp
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / source / libmarklin / trackpart.cpp
index 938ae31ff6fdd63a2b3631bc4f0d2b654c0e0c9c..37c5f97a90b0fc81cae5eb150bb2cbd8a654e8d5 100644 (file)
@@ -11,8 +11,6 @@ Distributed under the GPL
 using namespace std;
 using namespace Msp;
 
-#include <msp/io/print.h>
-
 namespace Marklin {
 
 TrackPart::TrackPart():
@@ -79,7 +77,6 @@ void TrackPart::check_link(TrackPart &other)
 
                        if(dx*dx+dy*dy<1e-6 && da>=-0.01 && da<=0.01)
                        {
-                               IO::print("TrackParts linked!\n");
                                links[i] = &other;
                                other.links[j] = this;
                                return;