You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
443 B
21 lines
443 B
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- |
|
|
|
#ifndef __AP_GPS_NONE_H__ |
|
#define __AP_GPS_NONE_H__ |
|
|
|
#include <AP_HAL.h> |
|
#include "GPS.h" |
|
|
|
class AP_GPS_None : public GPS |
|
{ |
|
public: |
|
AP_GPS_None() : GPS() {} |
|
|
|
void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting, DataFlash_Class *DataFlash) { |
|
_port = s; |
|
}; |
|
bool read(void) { |
|
return false; |
|
}; |
|
}; |
|
#endif // __AP_GPS_NONE_H__
|
|
|