2010-09-07 02:57:39 -03:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
|
|
|
|
2012-09-27 02:18:44 -03:00
|
|
|
#ifndef __AP_GPS_NONE_H__
|
|
|
|
#define __AP_GPS_NONE_H__
|
2010-09-07 02:45:06 -03:00
|
|
|
|
2012-09-27 02:18:44 -03:00
|
|
|
#include <AP_HAL.h>
|
2011-04-30 23:05:17 -03:00
|
|
|
#include "GPS.h"
|
2010-09-07 02:45:06 -03:00
|
|
|
|
|
|
|
class AP_GPS_None : public GPS
|
|
|
|
{
|
2010-12-24 15:59:07 -04:00
|
|
|
public:
|
2012-12-17 22:31:05 -04:00
|
|
|
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE) {
|
|
|
|
_port = s;
|
2012-08-17 03:19:44 -03:00
|
|
|
};
|
|
|
|
virtual bool read(void) {
|
2011-10-28 15:52:50 -03:00
|
|
|
return false;
|
|
|
|
};
|
2010-09-07 02:45:06 -03:00
|
|
|
};
|
2012-09-27 02:18:44 -03:00
|
|
|
#endif // __AP_GPS_NONE_H__
|