mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 05:37:35 +08:00
mathlib: fix floorf indentation
This commit is contained in:
committed by
Lorenz Meier
parent
710c52980e
commit
90b4c7c065
+2
-2
@@ -72,9 +72,9 @@ float degrees(float radians)
|
||||
|
||||
int floorf(float input)
|
||||
{
|
||||
int res = int(input);
|
||||
int res = int(input);
|
||||
if (res > input) {
|
||||
res--;
|
||||
res--;
|
||||
}
|
||||
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user