summaryrefslogtreecommitdiff
path: root/src/system_fsm/system_fsm.cpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-04-08 15:40:16 +1000
committerailurux <ailuruxx@gmail.com>2024-04-08 15:40:16 +1000
commitf20ca9583af5312eea65cf144803d00be6e50602 (patch)
treed6047ff952d6ad60a30ba038e6a5c72c64b8b0e7 /src/system_fsm/system_fsm.cpp
parent01ae3fee30704577f4ea37ed7f2132990135163c (diff)
parent96b62321c33ff5e146d52416dc5da3f0c240b4b0 (diff)
downloadtangara-fw-f20ca9583af5312eea65cf144803d00be6e50602.tar.gz
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
Diffstat (limited to 'src/system_fsm/system_fsm.cpp')
-rw-r--r--src/system_fsm/system_fsm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system_fsm/system_fsm.cpp b/src/system_fsm/system_fsm.cpp
index 5a1ccf8c..f502b49a 100644
--- a/src/system_fsm/system_fsm.cpp
+++ b/src/system_fsm/system_fsm.cpp
@@ -88,7 +88,7 @@ void SystemState::react(const internal::SamdInterrupt&) {
sServices->battery().Update();
}
if (usb_status != prev_usb_status) {
- ESP_LOGI(kTag, "usb status changed");
+ events::Ui().Dispatch(SamdUsbStatusChanged{.new_status = usb_status});
}
}