AP_HAL: fixed typo in fmax macro

This commit is contained in:
Andrew Tridgell 2018-11-15 09:54:39 +11:00
parent e6651b01bb
commit a4c532edff
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
#define ceil(x) DO_NOT_USE_DOUBLE_MATHS()
#define floor(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
// 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()