mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
[xrp] Add getter for XRP LED (#7327)
This commit is contained in:
committed by
GitHub
parent
44c0bbc4a9
commit
23e71e10e4
@@ -18,3 +18,7 @@ bool XRPOnBoardIO::GetUserButtonPressed() {
|
||||
void XRPOnBoardIO::SetLed(bool value) {
|
||||
m_led.Set(value);
|
||||
}
|
||||
|
||||
bool XRPOnBoardIO::GetLed() const {
|
||||
return m_led.Get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user