mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
RobotController: Make getBatteryVoltage() static. (#869)
This commit is contained in:
@@ -66,7 +66,7 @@ public final class RobotController {
|
||||
*
|
||||
* @return The battery voltage in Volts.
|
||||
*/
|
||||
public double getBatteryVoltage() {
|
||||
public static double getBatteryVoltage() {
|
||||
return PowerJNI.getVinVoltage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user