Author: Felipe Martinez <pipernene@gmail.com>
Move motorController.Init call to DisplayApp::Start
src/displayapp/DisplayApp.cpp | 2 +-
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index d9b2e9b3abe3cbb3506b5d9334a2f5d21a781164..3fd34b3a8ce3295871c9dde5164bb0d3ce092bbe 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -125,6 +125,7 @@ bootError = error; lvgl.Init(); + motorController.Init(); if (error == System::BootErrors::TouchController) { LoadNewScreen(Apps::Error, DisplayApp::FullRefreshDirections::None); @@ -150,7 +151,6 @@ void DisplayApp::InitHw() { brightnessController.Init(); ApplyBrightness(); - motorController.Init(); lcd.Init(); }