summaryrefslogtreecommitdiff
path: root/src/AntMessenger.cpp
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-07-08 23:08:29 +0200
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-07-08 23:08:29 +0200
commit94eb71db900ff2c8a6fb890e990762881970f9e0 (patch)
tree562e6c3f13e8c610782439fa1faf3a0e26e3ee03 /src/AntMessenger.cpp
parentafe40baf1893b574679afa8e3bf58586a73fb4a7 (diff)
remove a bunch of warnings
Diffstat (limited to 'src/AntMessenger.cpp')
-rw-r--r--src/AntMessenger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp
index 134ff6a..430b5a8 100644
--- a/src/AntMessenger.cpp
+++ b/src/AntMessenger.cpp
@@ -369,7 +369,7 @@ AntMessenger::ANTFS_Pairing(const uchar chan, const uint hostSN, const std::stri
// ANTFS_RespAuthenticate
std::vector<uchar> burstData;
- bool rv = bl.collectBurst(burstData, 30*1000); // 30s to allow user confirmation
+ /*bool rv =*/ bl.collectBurst(burstData, 30*1000); // 30s to allow user confirmation
//pc.rmMsgListener(&bl);
CHECK_RETURN_FALSE_LOG_OK(burstData.size()==3*8);
@@ -742,7 +742,7 @@ AntMessenger::ANTFS_RequestClientDeviceSerialNumber(const uchar chan, const uint
CHECK_RETURN_FALSE_LOG_OK(ANT_SendAcknowledgedData(chan, reinterpret_cast<uchar*>(&cmd), 2000));
std::vector<uchar> burstData;
- bool rv = bl.collectBurst(burstData, 5000);
+ /*bool rv =*/ bl.collectBurst(burstData, 5000);
//pc.rmMsgListener(&bl);
// TODO: interpret event:EVENT_TRANSFER_RX_FAILED as signal of failed bursting
@@ -1012,7 +1012,7 @@ AntMessenger::waitForBurst(const uchar chan,
// keep reading ...
// read last one
- uchar expectedSeq=0;
+ //uchar expectedSeq=0;
bool found=false;
bool lastFound=false;