mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Changes from review and add unit tests
Stylistic updates and add tests to the PID unit tests to verify launch control behavior
This commit is contained in:
parent
e4dc93b128
commit
b723d2976d
9 changed files with 146 additions and 41 deletions
|
@ -47,15 +47,8 @@ typedef enum {
|
|||
LAUNCH_CONTROL_MODE_COUNT // must be the last element
|
||||
} launchControlMode_e;
|
||||
|
||||
typedef enum {
|
||||
LAUNCH_CONTROL_TRIGGER_MODE_MULTIPLE = 0,
|
||||
LAUNCH_CONTROL_TRIGGER_MODE_SINGLE,
|
||||
LAUNCH_CONTROL_TRIGGER_MODE_COUNT // must be the last element
|
||||
} launchControlTriggerMode_e;
|
||||
|
||||
#ifdef USE_LAUNCH_CONTROL
|
||||
extern const char * const osdLaunchControlModeNames[LAUNCH_CONTROL_MODE_COUNT];
|
||||
extern const char * const osdLaunchControlTriggerModeNames[LAUNCH_CONTROL_TRIGGER_MODE_COUNT];
|
||||
#endif
|
||||
|
||||
PG_DECLARE(throttleCorrectionConfig_t, throttleCorrectionConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue