Browse Source

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.
mission-4.1.18
Grant Morphett 10 years ago committed by Andrew Tridgell
parent
commit
0b4ac5d256
  1. 2
      libraries/AP_Common/AP_Common.h

2
libraries/AP_Common/AP_Common.h

@ -53,7 +53,7 @@ @@ -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…
Cancel
Save