Browse Source

AP_HAL: fixed vprintf for no hal.h

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
56d74a352c
  1. 5
      libraries/AP_HAL/utility/print_vprintf.cpp

5
libraries/AP_HAL/utility/print_vprintf.cpp

@ -66,6 +66,11 @@ @@ -66,6 +66,11 @@
#define FL_FLTEXP FL_PREC
#define FL_FLTFIX FL_LONG
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
// get __FPU_PRESENT
#include <hal.h>
#endif
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap)
{
unsigned char c; /* holds a char from the format string */

Loading…
Cancel
Save