Skip to content
Snippets Groups Projects
Commit 1a8a1973 authored by Andrew Tridgell's avatar Andrew Tridgell Committed by Pat Hickey
Browse files

AP_IMU: fixed shim driver prototype

parent 01cfd643
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,8 @@ public: ...@@ -15,7 +15,8 @@ public:
/// @name IMU protocol /// @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_accel(void (*callback)(unsigned long t) = delay) {};
virtual void init_gyro(void (*callback)(unsigned long t) = delay) {}; virtual void init_gyro(void (*callback)(unsigned long t) = delay) {};
virtual bool update(void) { virtual bool update(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment