summaryrefslogtreecommitdiff
path: root/src/system_fsm/booting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/system_fsm/booting.cpp')
-rw-r--r--src/system_fsm/booting.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp
index 1e1b2959..e7505f11 100644
--- a/src/system_fsm/booting.cpp
+++ b/src/system_fsm/booting.cpp
@@ -27,6 +27,10 @@ namespace states {
static const char kTag[] = "BOOT";
+static std::function<void(void)> sGpiosCallback = []() {
+ events::EventQueue::GetInstance().DispatchFromISR(internal::GpioInterrupt{});
+};
+
auto Booting::entry() -> void {
ESP_LOGI(kTag, "beginning tangara boot");
ESP_LOGI(kTag, "installing early drivers");