mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Shared altitude control function in position_control.c (#13954)
* Altitude control code shared fewer debugs subtract D * remove #include comments, simplify coding, restructuring thanks JP and MH * fix cms limits for throttle control * Use altitude_control debug, fix throttle calculation minor refactoring * use AUTO_CONTROL_ALTITUDE debug in place of GPS Rescue throttle pid * use autopilot for position control names * fixes from reviews - thanks * Re-organise included files and functions thanks Karate * missed init and other typos * remove old unused unit test file, tidy up thanks Mark * fix indentation on one line
This commit is contained in:
parent
1d9823b4cd
commit
58fc8bbbb8
33 changed files with 263 additions and 595 deletions
|
@ -85,7 +85,7 @@ typedef enum {
|
|||
DEBUG_CRSF_LINK_STATISTICS_PWR,
|
||||
DEBUG_CRSF_LINK_STATISTICS_DOWN,
|
||||
DEBUG_BARO,
|
||||
DEBUG_GPS_RESCUE_THROTTLE_PID,
|
||||
DEBUG_AUTOPILOT_ALTITUDE,
|
||||
DEBUG_DYN_IDLE,
|
||||
DEBUG_FEEDFORWARD_LIMIT,
|
||||
DEBUG_FEEDFORWARD,
|
||||
|
@ -123,7 +123,6 @@ typedef enum {
|
|||
DEBUG_S_TERM,
|
||||
DEBUG_SPA,
|
||||
DEBUG_TASK,
|
||||
DEBUG_ALTHOLD,
|
||||
DEBUG_COUNT
|
||||
} debugType_e;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue