[Pkg-running-devel] [antpm] 08/48: ant: better comments

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Mon Aug 11 10:10:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

ralovich-guest pushed a commit to branch upstream
in repository antpm.

commit cf17136956ec32c081de47133647ec46733a4391
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Mon Mar 24 22:57:45 2014 +0100

    ant: better comments
---
 src/AntMessenger.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp
index d07a408..b6f0ce6 100644
--- a/src/AntMessenger.cpp
+++ b/src/AntMessenger.cpp
@@ -997,7 +997,8 @@ AntMessenger::sendAckData(const uchar chan, const uchar data[8], const size_t ti
 }
 
 
-// interpret byte stream, assemble packets and store results in \a m_rpackQueue
+/// interpret byte stream, assemble packets and store results in \a m_rpackQueue
+/// Also, forward messages with onAntReceived()
 bool
 AntMessenger::assemblePackets(std::list<uchar>& q)
 {
@@ -1029,10 +1030,6 @@ AntMessenger::assemblePackets(std::list<uchar>& q)
     }
     m.timestamp = boost::get_system_time();
     m.idx = packetIdx++;
-    //{
-    //  boost::unique_lock<boost::mutex> lock(m_rpackMutex);
-    //  m_rpackQueue.push_back(m);
-    //}
     m_rpackQueue2.push(m);
     if(m_cb)
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list