mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Improved 'applyDeadband()', added 'fapplyDeadband()' at @diehertz' request.
This commit is contained in:
parent
54c3363719
commit
affaf86f0d
2 changed files with 10 additions and 16 deletions
|
@ -90,8 +90,8 @@ typedef union {
|
|||
|
||||
int gcd(int num, int denom);
|
||||
float powerf(float base, int exp);
|
||||
int32_t applyDeadband(int32_t value, int32_t deadband);
|
||||
float fapplyDeadband(float value, float deadband);
|
||||
int32_t applyDeadband(const int32_t value, const int32_t deadband);
|
||||
float fapplyDeadband(const float value, const float deadband);
|
||||
|
||||
void devClear(stdev_t *dev);
|
||||
void devPush(stdev_t *dev, float x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue