Browse Source

AP_HAL Namespace: typedef Proc and TimedProc

master
Pat Hickey 13 years ago committed by Andrew Tridgell
parent
commit
af68c09591
  1. 6
      libraries/AP_HAL/AP_HAL_Namespace.h

6
libraries/AP_HAL/AP_HAL_Namespace.h

@ -2,6 +2,8 @@ @@ -2,6 +2,8 @@
#ifndef __AP_HAL_NAMESPACE_H__
#define __AP_HAL_NAMESPACE_H__
#include <stdint.h>
namespace AP_HAL {
/* Toplevel pure virtual class Hal.*/
@ -25,6 +27,10 @@ namespace AP_HAL { @@ -25,6 +27,10 @@ namespace AP_HAL {
class Print;
class Stream;
class BetterStream;
/* Typdefs for function pointers (Procedure, Timed Procedure) */
typedef void(*Proc)(void);
typedef void(*TimedProc)(uint32_t);
}

Loading…
Cancel
Save