1
0
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:
m_thread 2014-10-10 13:56:11 +02:00
parent bb4d271799
commit 19a7f4cd22

View File

@ -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