mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_AVR: rename vprintf function to print_vprintf
* because it takes an AP_HAL::Print
This commit is contained in:
parent
1b0bde2779
commit
5ab4e57673
|
@ -100,7 +100,7 @@ extern "C" {
|
|||
#define FL_FLTEXP FL_PREC
|
||||
#define FL_FLTFIX FL_LONG
|
||||
|
||||
void vprintf (AP_HAL::Print *s, unsigned char in_progmem, const char *fmt, va_list ap)
|
||||
void print_vprintf (AP_HAL::Print *s, unsigned char in_progmem, const char *fmt, va_list ap)
|
||||
{
|
||||
unsigned char c; /* holds a char from the format string */
|
||||
unsigned char flags;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <AP_HAL.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
void vprintf (AP_HAL::Print *s, unsigned char in_progmem, const char *fmt, va_list ap);
|
||||
void print_vprintf (AP_HAL::Print *s, unsigned char in_progmem, const char *fmt, va_list ap);
|
||||
|
||||
|
||||
#endif //__AP_HAL_AVR_UTILITY_VPRINTF_H__
|
||||
|
|
Loading…
Reference in New Issue