mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-1525 Changed some boundaries in firmware code.
This commit is contained in:
parent
bb4d271799
commit
19a7f4cd22
@ -46,7 +46,7 @@ static float applyExpo(float value, float expo);
|
||||
static float applyExpo(float value, float expo)
|
||||
{
|
||||
// note: fastPow makes a small error, therefore result needs to be bound
|
||||
float exp = boundf(fastPow(1.00695f, expo), 0.1f, 10.0f);
|
||||
float exp = boundf(fastPow(1.00695f, expo), 0.5f, 2.0f);
|
||||
|
||||
// magic number scales expo
|
||||
// so that
|
||||
|
Loading…
x
Reference in New Issue
Block a user