AP_IMU: fixed shim driver prototype

This commit is contained in:
Andrew Tridgell 2011-11-13 17:16:35 +11:00 committed by Pat Hickey
parent 1e41b4b2b0
commit 94423bc335

View File

@ -15,7 +15,8 @@ public:
/// @name IMU protocol
//@{
virtual void init(Start_style style = COLD_START, void (*callback)(unsigned long t) = delay) {};
virtual void init(Start_style style = COLD_START, void (*callback)(unsigned long t) = delay,
AP_PeriodicProcess *scheduler = NULL) {};
virtual void init_accel(void (*callback)(unsigned long t) = delay) {};
virtual void init_gyro(void (*callback)(unsigned long t) = delay) {};
virtual bool update(void) {