mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: fixed typo in fmax macro
This commit is contained in:
parent
e6651b01bb
commit
a4c532edff
|
@ -48,7 +48,7 @@
|
||||||
#define ceil(x) DO_NOT_USE_DOUBLE_MATHS()
|
#define ceil(x) DO_NOT_USE_DOUBLE_MATHS()
|
||||||
#define floor(x) DO_NOT_USE_DOUBLE_MATHS()
|
#define floor(x) DO_NOT_USE_DOUBLE_MATHS()
|
||||||
#define round(x) DO_NOT_USE_DOUBLE_MATHS()
|
#define round(x) DO_NOT_USE_DOUBLE_MATHS()
|
||||||
#define fmax(x) DO_NOT_USE_DOUBLE_MATHS()
|
#define fmax(x,y) DO_NOT_USE_DOUBLE_MATHS()
|
||||||
#if !HAL_WITH_UAVCAN
|
#if !HAL_WITH_UAVCAN
|
||||||
// we should do log() and fabs() as well, but can't because of a conflict in uavcan
|
// we should do log() and fabs() as well, but can't because of a conflict in uavcan
|
||||||
#define log(x) DO_NOT_USE_DOUBLE_MATHS()
|
#define log(x) DO_NOT_USE_DOUBLE_MATHS()
|
||||||
|
|
Loading…
Reference in New Issue