From 62b19081651b001c659cbb8f6a3e003d84cce31e Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Fri, 20 Dec 2024 13:40:46 +0100 Subject: [PATCH] Fix pre-commit clang changes (#1963) --- hardware_interface/src/resource_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hardware_interface/src/resource_manager.cpp b/hardware_interface/src/resource_manager.cpp index bf82f43101..7a616d890d 100644 --- a/hardware_interface/src/resource_manager.cpp +++ b/hardware_interface/src/resource_manager.cpp @@ -1052,8 +1052,7 @@ bool ResourceManager::load_and_initialize_components( // Set the update rate for all hardware components for (auto & hw : hardware_info) { - hw.rw_rate = - (hw.rw_rate == 0 || hw.rw_rate > update_rate) ? update_rate : hw.rw_rate; + hw.rw_rate = (hw.rw_rate == 0 || hw.rw_rate > update_rate) ? update_rate : hw.rw_rate; } const std::string system_type = "system";