From 6240a54c0053b6f434d5f1092f4e5a2c885fd44d Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Tue, 19 Mar 2024 13:59:20 -0400 Subject: [PATCH] Fix typo in update_interal_params --- .../jinja_templates/cpp/parameter_library_header | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generate_parameter_library_py/generate_parameter_library_py/jinja_templates/cpp/parameter_library_header b/generate_parameter_library_py/generate_parameter_library_py/jinja_templates/cpp/parameter_library_header index 9422c66..f5851e4 100644 --- a/generate_parameter_library_py/generate_parameter_library_py/jinja_templates/cpp/parameter_library_header +++ b/generate_parameter_library_py/generate_parameter_library_py/jinja_templates/cpp/parameter_library_header @@ -169,7 +169,7 @@ struct StackParams { } {%- endif %} updated_params.__stamp = clock_.now(); - update_interal_params(updated_params); + update_internal_params(updated_params); return rsl::to_parameter_result_msg({}); } @@ -193,11 +193,11 @@ struct StackParams { {%- endif %} updated_params.__stamp = clock_.now(); - update_interal_params(updated_params); + update_internal_params(updated_params); } private: - void update_interal_params(Params updated_params) { + void update_internal_params(Params updated_params) { std::lock_guard lock(mutex_); params_ = updated_params; }