diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 14:17:23 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 14:17:23 +0100 |
commit | 038902ae40c1f1eb91d3d6b9df7ae9298fbdaea5 (patch) | |
tree | 2e44e0246628fcdaece60fda639bea6b847e7e51 | |
parent | ed43112ec6027e5cbb66ccce1b92450006a67198 (diff) |
ant: rename method
-rw-r--r-- | src/AntFr310XT.cpp | 2 | ||||
-rw-r--r-- | src/AntFr310XT.hpp | 2 | ||||
-rw-r--r-- | src/antpm-downloader.cpp | 2 | ||||
-rw-r--r-- | 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(); } |