From ae72566c0ec05c6a03d7e5746d2c5f99259e6297 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Thu, 14 Dec 2023 13:58:19 +1100 Subject: [PATCH] Have the unit not immediately sleep when starting up. --- src/drivers/include/gpios.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {