mirror of https://github.com/ArduPilot/ardupilot
17 lines
268 B
C++
17 lines
268 B
C++
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
||
|
|
||
|
#include "GPS.h"
|
||
|
#include <stdio.h>
|
||
|
|
||
|
void
|
||
|
GPS::_error(const char *fmt, ...)
|
||
|
{
|
||
|
va_list ap;
|
||
|
|
||
|
if (print_errors && stderr) {
|
||
|
va_start(ap, fmt);
|
||
|
vfprintf(stderr, fmt, ap);
|
||
|
va_end(ap);
|
||
|
}
|
||
|
}
|