Skip to content

Commit

Permalink
Apply ament_uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotochleb committed May 25, 2024
1 parent 77e8d96 commit 68e9e3a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions image_publisher/src/image_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ ImagePublisher::ImagePublisher(const rclcpp::NodeOptions & options)
}
}
// reconfigureCallback() is called within onInit() so there is no need to call it twice
if (call_reconfigure && !call_init)
{
ImagePublisher::reconfigureCallback();
if (call_reconfigure && !call_init) {
ImagePublisher::reconfigureCallback();
} else if (call_init) {
ImagePublisher::onInit();
ImagePublisher::onInit();
}

return result;
Expand Down

0 comments on commit 68e9e3a

Please sign in to comment.