diff --git a/src/menu/start.cpp b/src/menu/start.cpp index d7893a9..a2b8e13 100644 --- a/src/menu/start.cpp +++ b/src/menu/start.cpp @@ -1,6 +1,7 @@ #include "start.h" #include "state.h" #include "display.h" +#include "screen/countdown.h" const char* StartMenuItem::getTitle() { @@ -34,6 +35,7 @@ const char* StartMenuItem::getValue() } -void StartMenuItem::execute() +void StartMenuItem::execute(ScreenManager* screenManager) { + screenManager->show(); } diff --git a/src/menu/start.h b/src/menu/start.h index 036aced..9fea889 100644 --- a/src/menu/start.h +++ b/src/menu/start.h @@ -13,7 +13,7 @@ class StartMenuItem : public MenuItem bool editable() { return false; } - void execute(); + void execute(ScreenManager* screenManager); }; #endif \ No newline at end of file diff --git a/src/screen/countdown.cpp b/src/screen/countdown.cpp index e51e834..5d8546b 100644 --- a/src/screen/countdown.cpp +++ b/src/screen/countdown.cpp @@ -14,7 +14,7 @@ void CountdownScreen::printRemainingTime() void CountdownScreen::onShow() { - LCDPrintLine(getDisplay(), 0, "Exposing..."); + LCDPrintLineCentered(getDisplay(), 0, "Exposing..."); mLastDisplayed = GetExposureTimeRemaining(getCurrentTime()) / 1000; printRemainingTime();