mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Fixes some methods in RobotController not being static. (#831)
This commit is contained in:
committed by
Peter Johnson
parent
7729dd972f
commit
8744511f1d
@@ -76,7 +76,7 @@ public final class RobotController {
|
||||
*
|
||||
* @return True if the FPGA outputs are enabled.
|
||||
*/
|
||||
public boolean isSysActive() {
|
||||
public static boolean isSysActive() {
|
||||
return HAL.getSystemActive();
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public final class RobotController {
|
||||
*
|
||||
* @return True if the system is browned out
|
||||
*/
|
||||
public boolean isBrownedOut() {
|
||||
public static boolean isBrownedOut() {
|
||||
return HAL.getBrownedOut();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user