Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_heartbeat_callback is misspelled #389

Closed
gsalinas opened this issue Aug 1, 2023 · 0 comments · Fixed by #453
Closed

add_heartbeat_callback is misspelled #389

gsalinas opened this issue Aug 1, 2023 · 0 comments · Fixed by #453

Comments

@gsalinas
Copy link

gsalinas commented Aug 1, 2023

Currently the function is called add_hearbeat_callback (note the missing t in heart.) Might be best to rename and add an alias to the old one so that people's code doesn't break?

Thanks for the library!

acolomb added a commit to acolomb/canopen that referenced this issue Jun 4, 2024
Rename the misspelled NmtMaster.add_hearbeat_callback() function to
add_heartbeat_callback, with an assignment for the legacy name to not
break compatibility in an unexpected manner.

Adjust parameter / function documentation and local variables with the
same typo consistently.
@acolomb acolomb linked a pull request Jun 4, 2024 that will close this issue
acolomb added a commit that referenced this issue Jun 4, 2024
Rename the misspelled NmtMaster.add_hearbeat_callback() function to
add_heartbeat_callback, with an assignment for the legacy name to not
break compatibility in an unexpected manner.

Adjust parameter / function documentation and local variables with the
same typo consistently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant