mirror of https://github.com/ArduPilot/ardupilot
15 lines
319 B
C++
15 lines
319 B
C++
#ifndef __NOTIFYDEVICE_H__
|
|
#define __NOTIFYDEVICE_H__
|
|
|
|
class NotifyDevice {
|
|
public:
|
|
virtual ~NotifyDevice() {}
|
|
// init - initialised the device
|
|
virtual bool init(void) = 0;
|
|
// update - updates device according to timed_updated. Should be
|
|
// called at 50Hz
|
|
virtual void update() = 0;
|
|
};
|
|
|
|
#endif
|