-
Notifications
You must be signed in to change notification settings - Fork 3k
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
rename: PwmOut::read_pulsewitdth_us() to PwmOut::read_pulsewidth_us() #15302
Conversation
@yutotnh, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing the typo. This should be fixed.
However, not breaking the code, can we kept the old function, adding MBED_DEPRECATED to it and let users know they should use the fixed version.
Keep this change as it is, just add the old name and call the new fixed function/method.
Thank you for explaining specifically. I fixed it. |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
This PR does not contain release version label after merging. |
Fixed |
Summary of changes
Renamed
PwmOut::read_pulsewitdth_us()
toPwmOut::read_pulsewidth_us()
Impact of changes
Users who use
PwmOut::read_pulsewitdth_us()
will have to rename it toPwmOut::read_pulsewidth_us()
Migration actions required
Documentation
None
Pull request type
Test results
Reviewers