[xrp] Add getter for XRP LED (#7327)

This commit is contained in:
Kavin Muralikrishnan
2024-11-03 13:32:03 -05:00
committed by GitHub
parent 44c0bbc4a9
commit 23e71e10e4
3 changed files with 22 additions and 0 deletions

View File

@@ -18,3 +18,7 @@ bool XRPOnBoardIO::GetUserButtonPressed() {
void XRPOnBoardIO::SetLed(bool value) {
m_led.Set(value);
}
bool XRPOnBoardIO::GetLed() const {
return m_led.Get();
}