mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_IMU: fixed shim driver prototype
This commit is contained in:
parent
1e41b4b2b0
commit
94423bc335
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user