Browse Source

AP_Math: remove unused maxf()

master
Lucas De Marchi 9 years ago
parent
commit
aa9168e0e9
  1. 5
      libraries/AP_Math/AP_Math.h

5
libraries/AP_Math/AP_Math.h

@ -230,11 +230,6 @@ static inline auto MAX(const A &one, const B &two) -> decltype(one > two ? one : @@ -230,11 +230,6 @@ static inline auto MAX(const A &one, const B &two) -> decltype(one > two ? one :
return one > two ? one : two;
}
static inline float maxf(float a, float b)
{
return (a>b?a:b);
}
#define NSEC_PER_SEC 1000000000ULL
#define NSEC_PER_USEC 1000ULL

Loading…
Cancel
Save