mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal] Update runtime enum to allow selecting roborio 2 (#3565)
In some cases, knowing roborio 2 might be useful. This also creates a higher level enum that might be usable later for the discussion on more complex runtime types.
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
namespace hal {
|
||||
TEST(HALTests, RuntimeType) {
|
||||
EXPECT_EQ(HAL_RuntimeType::HAL_Mock, HAL_GetRuntimeType());
|
||||
EXPECT_EQ(HAL_RuntimeType::HAL_Runtime_Simulation, HAL_GetRuntimeType());
|
||||
}
|
||||
} // namespace hal
|
||||
|
||||
Reference in New Issue
Block a user