1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Fix compilation warnings

This commit is contained in:
Pawel Spychalski (DzikuVx) 2021-03-02 12:27:00 +01:00
parent 3cad49d006
commit 87508187d3
3 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@ int32_t applyDeadband(int32_t value, int32_t deadband)
return value;
}
int constrain(int amt, int low, int high)
int32_t constrain(int32_t amt, int32_t low, int32_t high)
{
if (amt < low)
return low;