forked from Archive/PX4-Autopilot
mathlib: fix floorf indentation
This commit is contained in:
parent
710c52980e
commit
90b4c7c065
|
@ -72,9 +72,9 @@ float degrees(float radians)
|
||||||
|
|
||||||
int floorf(float input)
|
int floorf(float input)
|
||||||
{
|
{
|
||||||
int res = int(input);
|
int res = int(input);
|
||||||
if (res > input) {
|
if (res > input) {
|
||||||
res--;
|
res--;
|
||||||
}
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in New Issue