]> git.tdb.fi Git - r2c2.git/commitdiff
Cosmetic fixes
authorMikko Rasa <tdb@tdb.fi>
Fri, 20 Feb 2015 09:54:15 +0000 (11:54 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 20 Feb 2015 09:58:36 +0000 (11:58 +0200)
source/libr2c2/arducontrol.cpp
source/libr2c2/intellibox.cpp
source/libr2c2/track.cpp

index 8446294f8562619b416ecd439bcc2cd5d8acfbd3..0edb3ddaf0c1a44e17164d23f8efcabd6ebb82f7 100644 (file)
@@ -853,7 +853,7 @@ void ArduControl::RefreshTask::advance()
        ++next;
        if(next==cycle.end())
        {
-               next= cycle.begin();
+               next = cycle.begin();
                ++round;
        }
 }
index c2e5d75af7fefd6eea28d927c55e700d9c7b5da4..3f3edf2aad00774b7262fbe0fe9a3f94c71a9787 100644 (file)
@@ -1,6 +1,3 @@
-#include <fcntl.h>
-#include <termios.h>
-#include <sys/poll.h>
 #include <msp/core/maputils.h>
 #include <msp/io/print.h>
 #include <msp/time/units.h>
index 0411f1586c86fd89bc21f3be534905f363995dec..b53342c645c6d71e77ab3727e9833908835bf228 100644 (file)
@@ -55,7 +55,6 @@ Track::Track(Layout &l, const TrackType &t):
 
        layout.add(*this);
 
-
        for(unsigned paths = type.get_paths(); !(paths&1); ++active_path, paths>>=1) ;
 }