mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[hal, cscore, ntcore] Use WPI common handle type base
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <wpi/Synchronization.h>
|
||||
|
||||
#include "hal/Types.h"
|
||||
|
||||
/* General Handle Data Layout
|
||||
@@ -43,7 +45,7 @@ constexpr int16_t InvalidHandleIndex = -1;
|
||||
*/
|
||||
enum class HAL_HandleEnum {
|
||||
Undefined = 0,
|
||||
DIO = 1,
|
||||
DIO = wpi::kHandleTypeHALBase,
|
||||
Port = 2,
|
||||
Notifier = 3,
|
||||
Interrupt = 4,
|
||||
|
||||
Reference in New Issue
Block a user