[Pkg-running-devel] [antpm] 05/48: ant: add 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 e16abee2c5ea22dc3df16f58c30d12c71c960353
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Sun Mar 23 20:59:07 2014 +0100

    ant: add comments
---
 src/AntMessenger.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp
index 3e7482c..d07a408 100644
--- a/src/AntMessenger.cpp
+++ b/src/AntMessenger.cpp
@@ -1045,7 +1045,10 @@ AntMessenger::assemblePackets(std::list<uchar>& q)
   return true;
 }
 
-bool AntMessenger::onMessage(std::vector<AntMessage> v)
+
+/// Called from m_rpackQueue2.eventLoop()
+bool
+AntMessenger::onMessage(std::vector<AntMessage> v)
 {
   //TODO: don't presort here, but call onMsg for all incoming packets
 
@@ -1154,7 +1157,8 @@ AntMessenger::interruptWait()
 }
 
 
-// receive bytes from the serial interface
+/// Receive bytes from the serial interface, assemble ANT packets,
+/// forward the ANT packets.
 void*
 AntMessenger::th_messageHandler()
 {

-- 
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