mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
d288b8870d
this library provides a clean API for drivers to request periodic timer driven calls at whatever rate they need
12 lines
201 B
C++
12 lines
201 B
C++
|
|
#ifndef __PERIODICPROCESS_H__
|
|
#define __PERIODICPROCESS_H__
|
|
|
|
class AP_PeriodicProcess
|
|
{
|
|
public:
|
|
virtual void register_process(void (* proc)(void)) = 0;
|
|
};
|
|
|
|
#endif // __PERIODICPROCESS_H__
|