mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
The Digital and Analog headers (and the implementations, but that will be moved over later) are just too big and congested. This splits those headers, and then changes the few things that needed to be changed in WPILib to get the code working again. No function changes were made in this commit.
12 lines
388 B
C
12 lines
388 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
extern "C" {
|
|
bool checkRelayChannel(void* digital_port_pointer);
|
|
|
|
void setRelayForward(void* digital_port_pointer, bool on, int32_t* status);
|
|
void setRelayReverse(void* digital_port_pointer, bool on, int32_t* status);
|
|
bool getRelayForward(void* digital_port_pointer, int32_t* status);
|
|
bool getRelayReverse(void* digital_port_pointer, int32_t* status);
|
|
}
|