Skip to content

Commit e8f838f

Browse files
committed
fix start problem of alpine
1 parent f36c25d commit e8f838f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/OpenCOVER/plugins/hlrs/TacxFTMS/TacxFTMS.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ bool TacxFTMS::init() {
122122
if (!udpAlpine->isBad()) {
123123
alpinefound = true;
124124
} else {
125-
std::cerr << "TacxFTMS: failed to open local UDP port"
125+
std::cerr << "Alpine: failed to open local UDP port"
126126
<< localPortAlpine << std::endl;
127127
alpinefound = false;
128128
}
@@ -277,7 +277,8 @@ void TacxFTMS::updateThread() {
277277
<< status << ", got=" << status << std::endl;
278278
return;
279279
}
280-
} else if (udpAlpine) {
280+
}
281+
if (udpAlpine) {
281282
char tmpBuf[10000];
282283
int status;
283284
status = udpAlpine->receive(&tmpBuf, 10000);

0 commit comments

Comments
 (0)