mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Add a method to detect the HAL runtime version (#228)
This commit is contained in:
committed by
Peter Johnson
parent
1416fb8f67
commit
2ecb939b35
@@ -164,6 +164,13 @@ const char* HAL_GetErrorMessage(int32_t code) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the runtime type of this HAL
|
||||
*/
|
||||
HAL_RuntimeType HAL_GetRuntimeType() {
|
||||
return HAL_Athena;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the FPGA Version number.
|
||||
* For now, expect this to be competition year.
|
||||
|
||||
Reference in New Issue
Block a user