Skip to content

Commit

Permalink
Merge branch 'master' into remove-enum
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor authored Dec 20, 2024
2 parents 1fa79db + 62b1908 commit 72ab66d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hardware_interface/src/resource_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 72ab66d

Please sign in to comment.