mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[hal] Remove FPGA functions that won't exist on SC (#8273)
This commit is contained in:
@@ -28,26 +28,6 @@ public final class RobotController {
|
||||
throw new UnsupportedOperationException("This is a utility class!");
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the FPGA Version number. For now, expect this to be the current year.
|
||||
*
|
||||
* @return FPGA Version number.
|
||||
*/
|
||||
public static int getFPGAVersion() {
|
||||
return HALUtil.getFPGAVersion();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the FPGA Revision number. The format of the revision is 3 numbers. The 12 most
|
||||
* significant bits are the Major Revision. the next 8 bits are the Minor Revision. The 12 least
|
||||
* significant bits are the Build Number.
|
||||
*
|
||||
* @return FPGA Revision number.
|
||||
*/
|
||||
public static long getFPGARevision() {
|
||||
return HALUtil.getFPGARevision();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the serial number of the roboRIO.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user