Small bug fix for HIL gps when using auto-detect

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1663 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
deweibel@gmail.com 2011-02-16 18:19:07 +00:00
parent ad13b691de
commit 72d9f52d3b
2 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public:
* @param speed_3d - ground speed in meters/second
* @param altitude - altitude in meters
*/
void setHIL(long time, float latitude, float longitude, float altitude,
virtual void setHIL(long time, float latitude, float longitude, float altitude,
float ground_speed, float ground_course, float speed_3d, uint8_t num_sats);
private:

View File

@ -91,6 +91,10 @@ public:
// Debug support
bool print_errors; ///< deprecated
// HIL support
virtual void setHIL(long time, float latitude, float longitude, float altitude,
float ground_speed, float ground_course, float speed_3d, uint8_t num_sats);
protected:
Stream *_port; ///< port the GPS is attached to