mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: fixed vprintf for no hal.h
This commit is contained in:
parent
6039b8012a
commit
56d74a352c
@ -66,6 +66,11 @@
|
|||||||
#define FL_FLTEXP FL_PREC
|
#define FL_FLTEXP FL_PREC
|
||||||
#define FL_FLTFIX FL_LONG
|
#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)
|
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap)
|
||||||
{
|
{
|
||||||
unsigned char c; /* holds a char from the format string */
|
unsigned char c; /* holds a char from the format string */
|
||||||
|
Loading…
Reference in New Issue
Block a user