mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Moves handle definitions to main handle header (#115)
This commit is contained in:
committed by
Peter Johnson
parent
e1d4845ccd
commit
5e2a76147c
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "Handles.h"
|
||||
|
||||
typedef HalHandle HalAnalogOutputHandle;
|
||||
|
||||
extern "C" {
|
||||
HalAnalogOutputHandle initializeAnalogOutputPort(HalPortHandle port_handle,
|
||||
int32_t* status);
|
||||
|
||||
@@ -14,3 +14,9 @@
|
||||
typedef int32_t HalHandle;
|
||||
|
||||
typedef HalHandle HalPortHandle;
|
||||
|
||||
typedef HalHandle HalInterruptHandle;
|
||||
|
||||
typedef HalHandle HalNotifierHandle;
|
||||
|
||||
typedef HalHandle HalAnalogOutputHandle;
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "Handles.h"
|
||||
|
||||
typedef HalHandle HalInterruptHandle;
|
||||
|
||||
extern "C" {
|
||||
typedef void (*InterruptHandlerFunction)(uint32_t interruptAssertedMask,
|
||||
void* param);
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "Handles.h"
|
||||
|
||||
typedef HalHandle HalNotifierHandle;
|
||||
|
||||
extern "C" {
|
||||
HalNotifierHandle initializeNotifier(void (*process)(uint64_t, void*),
|
||||
void* param, int32_t* status);
|
||||
|
||||
Reference in New Issue
Block a user