summaryrefslogtreecommitdiff
path: root/src/ui/ui_fsm.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-01-10 20:32:01 +1100
committerjacqueline <me@jacqueline.id.au>2024-01-10 20:34:36 +1100
commit55bde70b9651b411ac0135bd4704f5b6972ea799 (patch)
tree520e502d62dabab2511a6032c1b29d86d1b1cb55 /src/ui/ui_fsm.cpp
parent1b2d791a05954fd161376e3ddce0d44f74fcc6c0 (diff)
downloadtangara-fw-55bde70b9651b411ac0135bd4704f5b6972ea799.tar.gz
add accurate esp and samd versions + expose this info to lua
Diffstat (limited to 'src/ui/ui_fsm.cpp')
-rw-r--r--src/ui/ui_fsm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp
index 740383a4..75327a58 100644
--- a/src/ui/ui_fsm.cpp
+++ b/src/ui/ui_fsm.cpp
@@ -432,7 +432,8 @@ void Browse::react(const internal::ShowSettingsPage& ev) {
screen.reset(new screens::Storage(sTopBarModel));
break;
case internal::ShowSettingsPage::Page::kFirmwareUpdate:
- screen.reset(new screens::FirmwareUpdate(sTopBarModel));
+ screen.reset(
+ new screens::FirmwareUpdate(sTopBarModel, sServices->samd()));
break;
case internal::ShowSettingsPage::Page::kAbout:
screen.reset(new screens::About(sTopBarModel));