Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/extension/ChronoController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,7 @@ namespace extension {

if (clock::rtf() == 0.0) {
// If we are paused then just wait until we are unpaused
wait.wait(lock, [this, &start] {
return !running.load(std::memory_order_acquire) || clock::rtf() != 0.0
|| NUClear::clock::now() != start;
});
wait.wait(lock);
}
else if (time_until_task > cv_accuracy) { // A long time in the future
// Wait on the cv
Expand Down
Loading