mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 04:17:35 +08:00
fixed calculation of magentic table values by using floor instead of int casting
This commit is contained in:
committed by
Lorenz Meier
parent
54ac147ae8
commit
710c52980e
@@ -60,6 +60,7 @@ float max(float val1, float val2);
|
||||
float constrain(float val, float min, float max);
|
||||
float radians(float degrees);
|
||||
float degrees(float radians);
|
||||
int floorf(float input);
|
||||
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user