mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal] Add GetTeamNumber (#5596)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user