Skip to content

Commit b6f4234

Browse files
committed
Move motorController.Init call to DisplayApp::Start
1 parent 0dcfb2e commit b6f4234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/displayapp/DisplayApp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ void DisplayApp::Start(System::BootErrors error) {
125125
bootError = error;
126126

127127
lvgl.Init();
128+
motorController.Init();
128129

129130
if (error == System::BootErrors::TouchController) {
130131
LoadNewScreen(Apps::Error, DisplayApp::FullRefreshDirections::None);
@@ -150,7 +151,6 @@ void DisplayApp::Process(void* instance) {
150151
void DisplayApp::InitHw() {
151152
brightnessController.Init();
152153
ApplyBrightness();
153-
motorController.Init();
154154
lcd.Init();
155155
}
156156

0 commit comments

Comments
 (0)