AP_HAL_AVR: rename vprintf function to print_vprintf

* because it takes an AP_HAL::Print
This commit is contained in:
Pat Hickey 2012-12-19 13:28:56 -08:00 committed by Andrew Tridgell
parent 1b0bde2779
commit 5ab4e57673
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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__