diff options
author | tomaszduda23 <[email protected]> | 2022-09-13 11:58:08 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-13 12:58:08 +0300 |
commit | 967361f775dfba46ef0219e7f5d56d0f8253ef3d (patch) | |
tree | 13f6bc1e7720798d4473fc3e5fb4c2be36e8d264 /hid/lib/drivers | |
parent | fa01d92dde2d4c199c8f6b394a72a4f41c28cfe9 (diff) |
Status led (#109)
* add SW reset
* adds watchdog
* add status led
Diffstat (limited to 'hid/lib/drivers')
-rw-r--r-- | hid/lib/drivers/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hid/lib/drivers/board.h b/hid/lib/drivers/board.h index 50730ee1..2f9bcad7 100644 --- a/hid/lib/drivers/board.h +++ b/hid/lib/drivers/board.h @@ -26,9 +26,16 @@ namespace DRIVERS { + enum status { + RX_DATA = 0, + KEYBOARD_ONLINE, + MOUSE_ONLINE, + }; + struct Board : public Driver { using Driver::Driver; virtual void reset() {} virtual void periodic() {} + virtual void updateStatus(status status) {} }; } |