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; }