1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
LibrePilot/flight/libraries
Richard Flay (Hyper) 7937ae6296 OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled.
Also fixes warnings (and bugs) in F4 STM32_USB_OTG_Driver code, allowing -Werror to be enabled for all flight code.
Fixes all other compiler warnings that would otherwise cause the flight code to not compile with -Werror enabled.
Along the way, this also adds some uses of isnan() to various places rather than questionable tests for x != x and
x == x to check for NaNs.

+review OPReview
2013-04-30 20:36:42 +09:30
..
inc Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
math OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled. 2013-04-30 20:36:42 +09:30
PyMite Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
rscode Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
aes.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
alarms.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
CoordinateConversions.c OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled. 2013-04-30 20:36:42 +09:30
fifo_buffer.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
insgps13state.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
insgps16state.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
insgps_helper.c Cherry-pick and hand-merge of Sami's math cleanup commit from branch sambas/diffnext: 5f3e0c3e1d 2013-04-28 10:45:28 +09:30
op_dfu.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
paths.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
printf2.c OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled. 2013-04-30 20:36:42 +09:30
printf-stdarg.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
sanitycheck.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
stopwatch.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
taskmonitor.c Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
WorldMagModel.c OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled. 2013-04-30 20:36:42 +09:30