IMU: fixed HIL init with callback

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2988 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
tridge60@gmail.com 2011-07-31 23:35:37 +00:00
parent 91e101f47e
commit 9ead82f137
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ public:
/// @name IMU protocol
//@{
virtual void init(Start_style style, void (*callback)(unsigned long t)) {}
virtual void init_accel() {};
virtual void init_gyro() {};
virtual void init_accel(void (*callback)(unsigned long t) = delay) {};
virtual void init_gyro(void (*callback)(unsigned long t) = delay) {};
virtual bool update(void) {
bool updated = _updated;
_updated = false;