Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent 7647c45 commit 5888f04
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ class FaultInjectionDiagUpdater : public diagnostic_updater::DiagnosticTaskVecto
/**
* \brief Sets the period given a value in seconds
*/
void set_period(double period) { set_period(rclcpp::Duration::from_nanoseconds(static_cast<long>(period * 1e9))); }
void set_period(double period)
{
set_period(rclcpp::Duration::from_nanoseconds(static_cast<long>(period * 1e9)));
}

/**
* \brief Forces to send out an update for all known DiagnosticStatus.
Expand Down

0 comments on commit 5888f04

Please sign in to comment.