From 8245835ea3b710384af09a64a5b45283d85d7ecb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 13 Nov 2011 16:48:11 +1100 Subject: [PATCH] desktop: make AP_InertialSensor pure virtual fixed a link error in Desktop build thanks to Pat for the C++ foo --- libraries/AP_InertialSensor/AP_InertialSensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.h b/libraries/AP_InertialSensor/AP_InertialSensor.h index 0ff01b75ba..f3a5dc02e4 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.h +++ b/libraries/AP_InertialSensor/AP_InertialSensor.h @@ -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.