[hal] Add GetTeamNumber (#5596)

This commit is contained in:
Ryan Blue
2023-09-02 02:34:18 -04:00
committed by GitHub
parent a750bee54d
commit ac23f92451
19 changed files with 259 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ std::string RobotController::GetComments() {
return std::string(comments, len);
}
int32_t RobotController::GetTeamNumber() {
return HAL_GetTeamNumber();
}
uint64_t RobotController::GetFPGATime() {
int32_t status = 0;
uint64_t time = HAL_GetFPGATime(&status);