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

Commits on Apr 23, 2019

  1. Copter: move poshold state variables into mode object

    This was simply moving the members from the poshold struct into the
    class then mechanically removing poshold. from in front of the member
    access.
    peterbarker committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    763bedb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38e9b5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ee32de View commit details
    Browse the repository at this point in the history
  4. Copter: use enum class for roll/pitch mode

    This adds some type-safety and helps distinguish between the many
    defines which are used within PosHold mode
    
    Saves about 210 bytes of flash
    peterbarker committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    7ed76d9 View commit details
    Browse the repository at this point in the history