File tree Expand file tree Collapse file tree
src/OpenCOVER/plugins/hlrs/TacxFTMS Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ void TacxFTMS::updateThread() {
262262 // message was lost)
263263 udpNeo->send (" start" );
264264 }
265- return ;
266265 } else if (status >= sizeof (FTMSBikeData)) {
267266 if (!isEnabled ()) {
268267 if (udpNeo) // still receiving data, send stop
@@ -275,7 +274,6 @@ void TacxFTMS::updateThread() {
275274 } else {
276275 std::cerr << " TacxFTMS::update: received invalid no. of bytes: recv="
277276 << status << " , got=" << status << std::endl;
278- return ;
279277 }
280278 }
281279 if (udpAlpine) {
@@ -293,7 +291,6 @@ void TacxFTMS::updateThread() {
293291 // message was lost)
294292 udpAlpine->send (" start" );
295293 }
296- return ;
297294 } else if (status >= sizeof (AlpineData)) {
298295 if (!isEnabled ()) {
299296 if (udpAlpine) // still receiving data, send stop
@@ -305,12 +302,12 @@ void TacxFTMS::updateThread() {
305302 } else {
306303 std::cerr << " Alpine::update: received invalid no. of bytes: recv="
307304 << status << " , got=" << status << std::endl;
308- return ;
309305 }
310306 }
311307 else {
312308 usleep (5000 );
313309 }
310+ return ;
314311}
315312
316313void TacxFTMS::Initialize () {
You can’t perform that action at this time.
0 commit comments