purge broken qurt support and atlflight boards

This commit is contained in:
Daniel Agar
2021-07-15 13:17:15 -04:00
parent 4a0fa08953
commit 65745a3676
116 changed files with 58 additions and 11410 deletions
+2 -9
View File
@@ -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