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 01cfd64327
commit 1a8a1973a1

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) {