mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
7fc6515300
Nuke AP_GPS_IMU, as nothing is using it anymore. Simplify the handling of no GPS/no fix detection. Fix prototypes for ::init and ::read. Update AP_GPS_Auto and corresponding example, nearly ready for primetime. Use uint8_t rather than byte. Strip some _error() calls to save space. More could still go. git-svn-id: https://arducopter.googlecode.com/svn/trunk@1246 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 lines
255 B
C++
14 lines
255 B
C++
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
|
|
|
#ifndef AP_GPS_None_h
|
|
#define AP_GPS_None_h
|
|
|
|
#include <GPS.h>
|
|
|
|
class AP_GPS_None : public GPS
|
|
{
|
|
virtual void init(void) {};
|
|
virtual bool read(void) { return false; };
|
|
};
|
|
#endif
|