[Pkg-running-devel] [antpm] 23/48: ant: rename method

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Mon Aug 11 10:10:32 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 038902ae40c1f1eb91d3d6b9df7ae9298fbdaea5
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Wed Mar 26 14:17:23 2014 +0100

    ant: rename method
---
 src/AntFr310XT.cpp       | 2 +-
 src/AntFr310XT.hpp       | 2 +-
 src/antpm-downloader.cpp | 2 +-
 src/tests/sm1.cpp        | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 5ee2d6f..5315b46 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -171,7 +171,7 @@ AntFr310XT::onAntSent(const AntMessage m)
 
 
 void
-AntFr310XT::start()
+AntFr310XT::run()
 {
   CHECK_RETURN(m_serial);
   CHECK_RETURN(m_serial->isOpen());
diff --git a/src/AntFr310XT.hpp b/src/AntFr310XT.hpp
index 1f6d175..c5d57a1 100644
--- a/src/AntFr310XT.hpp
+++ b/src/AntFr310XT.hpp
@@ -46,7 +46,7 @@ public:
   virtual void onAntReceived(const AntMessage m);
   virtual void onAntSent(const AntMessage m);
 
-  void start();
+  void run();
 protected:
   void stop();
 public:
diff --git a/src/antpm-downloader.cpp b/src/antpm-downloader.cpp
index c4b13e0..99473f5 100644
--- a/src/antpm-downloader.cpp
+++ b/src/antpm-downloader.cpp
@@ -243,7 +243,7 @@ main(int argc, char** argv)
       else if(dlFileIdx!=0x0000) watch2.setModeDownloadSingleFile(dlFileIdx);
       else if(eraseFileIdx!=0x000) watch2.setModeEraseSingleFile(eraseFileIdx);
 
-      watch2.start();
+      watch2.run();
 
 
       //watch2.stop();
diff --git a/src/tests/sm1.cpp b/src/tests/sm1.cpp
index 6efc239..fe1e8b1 100644
--- a/src/tests/sm1.cpp
+++ b/src/tests/sm1.cpp
@@ -311,7 +311,7 @@ BOOST_AUTO_TEST_CASE(test_serial0)
   Serial* st = new SerialTester0();
   AntFr310XT watch2(st);
 
-  watch2.start();
+  watch2.run();
 
 }
 
@@ -323,7 +323,7 @@ BOOST_AUTO_TEST_CASE(test_serial1)
   Serial* st = new SerialTester1();
   AntFr310XT watch2(st);
 
-  watch2.start();
+  watch2.run();
 
 }
 
@@ -335,7 +335,7 @@ BOOST_AUTO_TEST_CASE(test_serial2)
   Serial* st = new SerialTester2();
   AntFr310XT watch2(st);
 
-  watch2.start();
+  watch2.run();
 
 }
 

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