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 bb7af8c15a
commit 8245835ea3

View File

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