mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Removed the User LED functions
There is no "User" LED on the RoboRIO, these functions didn't do anything. Change-Id: I8d2eaf0efde90cc444503a79f26d591ddaaa6322
This commit is contained in:
@@ -102,27 +102,6 @@ uint32_t getFPGATime(int32_t *status)
|
||||
return global->readLocalTime(status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the state of the FPGA status LED on the cRIO.
|
||||
*/
|
||||
void setFPGALED(uint32_t state, int32_t *status)
|
||||
{
|
||||
// XXX: Not supported?
|
||||
// global->writeFPGA_LED(state, status);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current state of the FPGA status LED on the cRIO.
|
||||
* @return The curent state of the FPGA LED.
|
||||
*/
|
||||
int32_t getFPGALED(int32_t *status)
|
||||
{
|
||||
// XXX: Not supported?
|
||||
// bool ledValue = global->readFPGA_LED(status);
|
||||
// return ledValue;
|
||||
return 0; // XXX: Dummy value
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the state of the "USER" button on the RoboRIO
|
||||
* @return true if the button is currently pressed down
|
||||
|
||||
Reference in New Issue
Block a user