Set native line endings on checkout to help avoid confusion.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@419 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
7e345e027c
commit
3e1cd1ea2e
16
libraries/AP_GPS/GPS.cpp
Normal file
16
libraries/AP_GPS/GPS.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
// -*- 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user