Skip to content

Commit

Permalink
Apply ament_uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotochleb authored and Krzysztof Wojciechowski committed May 27, 2024
1 parent 5fad79f commit 1306e63
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 @@ -105,11 +105,10 @@ ImagePublisher::ImagePublisher(
}
}
// 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 1306e63

Please sign in to comment.