summaryrefslogtreecommitdiff
path: root/src/drivers/include/samd.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-11-24 07:18:14 +1100
committerjacqueline <me@jacqueline.id.au>2023-11-24 07:41:48 +1100
commit230721cd6271f3239b42e1d2471f8db15bebd712 (patch)
treecc27ec975261742dca8c9acf87b806f5933faae8 /src/drivers/include/samd.hpp
parent2b095948b81cbde28ac84e7a572d472301a50af1 (diff)
downloadtangara-fw-230721cd6271f3239b42e1d2471f8db15bebd712.tar.gz
Periodically check int lines instead of relying on interrupts
Diffstat (limited to 'src/drivers/include/samd.hpp')
-rw-r--r--src/drivers/include/samd.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/include/samd.hpp b/src/drivers/include/samd.hpp
index 2640eb8b..d9f1ca48 100644
--- a/src/drivers/include/samd.hpp
+++ b/src/drivers/include/samd.hpp
@@ -54,8 +54,6 @@ class Samd {
auto ResetToFlashSamd() -> void;
auto PowerDown() -> void;
- static auto CreateReadPending() -> SemaphoreHandle_t;
-
// Not copyable or movable. There should usually only ever be once instance
// of this class, and that instance will likely have a static lifetime.
Samd(const Samd&) = delete;
@@ -64,8 +62,6 @@ class Samd {
private:
std::optional<ChargeStatus> charge_status_;
UsbStatus usb_status_;
-
- static SemaphoreHandle_t sReadPending;
};
} // namespace drivers