Skip to content

Commit 9e9d782

Browse files
authored
Merge pull request #61 from ethz-asl/fix/DeviceTimePassThroughOwt
Fixed fatal bug in DeviceTimePassThroughOwt
2 parents 8f99270 + d6ffc9c commit 9e9d782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cuckoo_time_translator_algorithms/src/OneWayTranslator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ LocalTime DeviceTimePassThroughOwt::translateToLocalTimestamp(RemoteTime remoteT
5555
return LocalTime(static_cast<double>(remoteTimeTics));
5656
}
5757

58-
LocalTime DeviceTimePassThroughOwt::updateAndTranslateToLocalTimestamp(RemoteTime /*remoteTimeTics*/, LocalTime localTimeSecs) {
59-
return localTimeSecs;
58+
LocalTime DeviceTimePassThroughOwt::updateAndTranslateToLocalTimestamp(RemoteTime remoteTimeTics, LocalTime /*localTimeSecs*/) {
59+
return translateToLocalTimestamp(remoteTimeTics);
6060
}
6161

6262
bool DeviceTimePassThroughOwt::isReadyToTranslate() const {

0 commit comments

Comments
 (0)