mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 14:00:34 +08:00
purge broken qurt support and atlflight boards
This commit is contained in:
@@ -100,14 +100,9 @@ bool __EXPORT less_than_or_equal(float a, float b)
|
||||
}
|
||||
}
|
||||
|
||||
void __EXPORT float2SigExp(
|
||||
const float &num,
|
||||
float &sig,
|
||||
int &exp)
|
||||
void __EXPORT float2SigExp(const float &num, float &sig, int &exp)
|
||||
{
|
||||
// FIXME - This code makes no sense when exp is an int
|
||||
// FIXME - isnan and isinf not defined for QuRT
|
||||
#ifndef __PX4_QURT
|
||||
|
||||
if (!PX4_ISFINITE(num)) {
|
||||
sig = 0.0f;
|
||||
exp = -99;
|
||||
@@ -129,8 +124,6 @@ void __EXPORT float2SigExp(
|
||||
exp = floor(exp);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
sig = num;
|
||||
|
||||
// cheap power since it is integer
|
||||
|
||||
Reference in New Issue
Block a user