mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user