ardupilot/libraries/AP_GPS/AP_GPS_None.h
Andrew Tridgell 0542539fc9 GPS: add stub settings for nav_setting in the other GPS drivers
only Ublox supports nav_setting so far
2012-06-10 16:34:53 +10:00

18 lines
369 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
{
public:
AP_GPS_None(Stream *s) : GPS(s) {}
virtual void init(enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE) {};
virtual bool read(void) {
return false;
};
};
#endif