Add a method to detect the HAL runtime version (#228)

This commit is contained in:
Thad House
2016-09-13 21:21:57 -07:00
committed by Peter Johnson
parent 1416fb8f67
commit 2ecb939b35
4 changed files with 28 additions and 0 deletions

View File

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