desktop: make AP_InertialSensor pure virtual

fixed a link error in Desktop build

thanks to Pat for the C++ foo
This commit is contained in:
Andrew Tridgell 2011-11-13 16:48:11 +11:00 committed by Pat Hickey
parent 01cd9cc6d6
commit 55bd85fe90

View File

@ -12,7 +12,7 @@ class AP_InertialSensor
public: public:
AP_InertialSensor() {} AP_InertialSensor() {}
virtual void init( AP_PeriodicProcess * scheduler ); virtual void init( AP_PeriodicProcess * scheduler ) = 0;
/* Update the sensor data, so that getters are nonblocking. /* Update the sensor data, so that getters are nonblocking.
* Returns a bool of whether data was updated or not. * Returns a bool of whether data was updated or not.