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
Make Cppcheck happier revived #13566
Conversation
Do you want to test this code? You can flash it directly from Betaflight Configurator:
WARNING: It may be unstable. Use only for testing! |
Notes:
|
I set 4.6 Milestone on this only because the prior PR had it. If this is incorrect, please change. This PR changes many files -- maybe proceed with caution. |
how to test? |
You can check ublox, that is only noticeable change. Rest is mostly |
Can we get this merged please. |
You don't need to close the original PR and make a new one, you can edit the original |
@KarateBrot did not want to mangle the original PR without @daleckystepan approval to do so - so this PR is in his honor. |
you can also git commit co-authors s that his namesake would be included. https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors |
@blckmn please can we get this merged #11175 (comment) |
@haslinghuis I can't see where you've co-authored this? |
Any suggestion? |
The easiest way was to pull the original commits from the original PR, and make your changes, raise a commit for those changes (to your local repo), and then raise a new PR. That way the original commits will be authored correctly. i.e. Pulling the PR (using the /pull/XXX/head method), rebasing as required, and adding your new commits. Here is githubs official position on inactive pull requests and editing locally: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
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.
Please add the co-authorship.
Probably the easiest way now is to reset the branch, back to where it forks for this branch (from master), and then create an entirely new commit, retaining any commit commits and adding the co-authorship in the process - then force pushing. |
Did not cherry-pick but entirely did this manually - as there were too many conflicts - it was easier to go from scratch. It took hours while testing and building to get it right anyhow. EDIT: just amend with co-author did the trick |
Co-authored-by: Štěpán Dalecký <daleckystepan@gmail.com>
Credits to @daleckystepan