diff options
| author | Robin Howard <robin@rhoward.id.au> | 2023-12-14 13:58:19 +1100 |
|---|---|---|
| committer | Robin Howard <robin@rhoward.id.au> | 2023-12-14 13:58:19 +1100 |
| commit | ae72566c0ec05c6a03d7e5746d2c5f99259e6297 (patch) | |
| tree | f2d88e7fb984a25fc634b1205c394cf0b0e12e5e /src/drivers/include/gpios.hpp | |
| parent | 64b106c13e18c33be0f2b0de532054e0ed3f731d (diff) | |
| download | tangara-fw-ae72566c0ec05c6a03d7e5746d2c5f99259e6297.tar.gz | |
Have the unit not immediately sleep when starting up.
Diffstat (limited to 'src/drivers/include/gpios.hpp')
| -rw-r--r-- | src/drivers/include/gpios.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/include/gpios.hpp b/src/drivers/include/gpios.hpp index a201c173..fe4b1c4c 100644 --- a/src/drivers/include/gpios.hpp +++ b/src/drivers/include/gpios.hpp @@ -78,7 +78,7 @@ class IGpios { */ virtual auto Get(Pin) const -> bool = 0; - virtual auto IsLocked() const -> bool { return !Get(Pin::kKeyLock); } + virtual auto IsLocked() const -> bool { return Get(Pin::kKeyLock); } }; class Gpios : public IGpios { |
