Permalink
Browse files

Removed debugging statements

  • Loading branch information...
bmcdorman committed Feb 25, 2013
1 parent ffa486c commit 48c4d9ce2617f4c888fd95e2478e3602ed5a7e8a
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/motors_p.cpp
View
@@ -162,8 +162,6 @@ void Private::Motor::setPidGoalPos(port_t port, int pos)
Private::Kovan *kovan = Private::Kovan::instance();
port = fixPort(port);
pos += m_cleared[port];
- std::cout << "setPidGoalPos: adjusted port = " << port << " adjusted pos = " << pos
- << " (m_cleared[port] = " << m_cleared[port] << ")";
kovan->enqueueCommand(createWriteCommand(goalPosLowRegisters[port], pos & 0x0000FFFF), false);
kovan->enqueueCommand(createWriteCommand(goalPosHighRegisters[port], (pos & 0xFFFF0000) >> 16));
}

0 comments on commit 48c4d9c

Please sign in to comment.