[hal, cscore, ntcore] Use WPI common handle type base

This commit is contained in:
Peter Johnson
2021-09-17 12:28:12 -07:00
parent 87e34967ef
commit b82d4f6e58
3 changed files with 9 additions and 3 deletions

View File

@@ -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,