mirror of https://github.com/ArduPilot/ardupilot
AP_HAL Namespace: typedef Proc and TimedProc
This commit is contained in:
parent
229f58412b
commit
af68c09591
|
@ -2,6 +2,8 @@
|
||||||
#ifndef __AP_HAL_NAMESPACE_H__
|
#ifndef __AP_HAL_NAMESPACE_H__
|
||||||
#define __AP_HAL_NAMESPACE_H__
|
#define __AP_HAL_NAMESPACE_H__
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
namespace AP_HAL {
|
namespace AP_HAL {
|
||||||
|
|
||||||
/* Toplevel pure virtual class Hal.*/
|
/* Toplevel pure virtual class Hal.*/
|
||||||
|
@ -25,6 +27,10 @@ namespace AP_HAL {
|
||||||
class Print;
|
class Print;
|
||||||
class Stream;
|
class Stream;
|
||||||
class BetterStream;
|
class BetterStream;
|
||||||
|
|
||||||
|
/* Typdefs for function pointers (Procedure, Timed Procedure) */
|
||||||
|
typedef void(*Proc)(void);
|
||||||
|
typedef void(*TimedProc)(uint32_t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue