mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Common: Changes to fix the warnings in rover sitl build.
We are starting the process of resolving all the warnings in the ardupilot builds of all vehicles and platforms.
This commit is contained in:
parent
4ffb4f6fef
commit
0b4ac5d256
@ -53,7 +53,7 @@
|
||||
// in conjunction with a suitably modified Arduino IDE; never define for
|
||||
// production as it generates bad code.
|
||||
//
|
||||
#if PRINTF_FORMAT_WARNING_DEBUG
|
||||
#if defined(PRINTF_FORMAT_WARNING_DEBUG)
|
||||
# undef PSTR
|
||||
# define PSTR(_x) _x // help the compiler with printf_P
|
||||
# define float double // silence spurious format warnings for %f
|
||||
|
Loading…
Reference in New Issue
Block a user