mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 13:31:36 +08:00
mathlib delete floorf in favor of math.h
This commit is contained in:
committed by
Paul Riseborough
parent
340d85afc1
commit
cd34ab802d
@@ -46,10 +46,10 @@
|
||||
|
||||
#include <mathlib/mathlib.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using math::constrain;
|
||||
using math::floorf;
|
||||
|
||||
/** set this always to the sampling in degrees for the table below */
|
||||
static constexpr float SAMPLING_RES = 10.0f;
|
||||
|
||||
Reference in New Issue
Block a user