[wpiutil,hal] Move C++ Handle wrapper to wpiutil (#8935)

Also move WPI_Handle typedef to its own header (util/Handle.h).
This commit is contained in:
Peter Johnson
2026-06-01 13:57:25 -07:00
committed by GitHub
parent 3d982f81dd
commit 3f0d7bc2c4
24 changed files with 126 additions and 127 deletions

View File

@@ -7,7 +7,7 @@
#include <stdint.h>
#include "wpi/hal/CANAPI.h"
#include "wpi/hal/Types.hpp"
#include "wpi/util/Handle.hpp"
namespace wpi {
@@ -155,6 +155,6 @@ class CAN {
HAL_CAN_DEV_MISCELLANEOUS;
private:
wpi::hal::Handle<HAL_CANHandle, HAL_CleanCAN> m_handle;
wpi::util::Handle<HAL_CANHandle, HAL_CleanCAN> m_handle;
};
} // namespace wpi