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

Copter: make PosHold state member variables; remove some redundant na… #10443

Merged
merged 4 commits into from
Apr 29, 2019

Conversation

peterbarker
Copy link
Contributor

…mespacing

@rmackay9
Copy link
Contributor

rmackay9 commented Feb 7, 2019

I'm afraid this will conflict with the 2nd set of spool changes from lthall, bnsgeyer and I

This was simply moving the members from the poshold struct into the
class then mechanically removing poshold. from in front of the member
access.
This adds some type-safety and helps distinguish between the many
defines which are used within PosHold mode

Saves about 210 bytes of flash
@rmackay9 rmackay9 merged commit 37c07e1 into ArduPilot:master Apr 29, 2019
@rmackay9
Copy link
Contributor

Merged, thanks!

@peterbarker peterbarker deleted the pr/poshold-members branch May 3, 2019 00:58
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 this pull request may close these issues.

None yet

3 participants