diff --git a/controller_interface/include/controller_interface/async_function_handler.hpp b/controller_interface/include/controller_interface/async_function_handler.hpp index e8ec70c0f1..42b9a98f29 100644 --- a/controller_interface/include/controller_interface/async_function_handler.hpp +++ b/controller_interface/include/controller_interface/async_function_handler.hpp @@ -227,7 +227,8 @@ class AsyncFunctionHandler lock, [this] { return trigger_in_progress_ || async_update_stop_; }); if (!async_update_stop_) { - async_update_return_ = async_function_(current_update_time_, current_update_period_); + async_update_return_ = + async_function_(current_update_time_, current_update_period_); } trigger_in_progress_ = false; }