From 22d7af4b7834e7bab860eea1cda605afe2e0d7c3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 8 Aug 2021 12:49:04 +0200 Subject: [PATCH] always perform state machine in initAfterTaskCreation --- bsp_q7s/core/CoreController.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bsp_q7s/core/CoreController.cpp b/bsp_q7s/core/CoreController.cpp index 1fa1949e..51c49485 100644 --- a/bsp_q7s/core/CoreController.cpp +++ b/bsp_q7s/core/CoreController.cpp @@ -530,11 +530,7 @@ ReturnValue_t CoreController::initializeAfterTaskCreation() { sif::warning << "CoreController::CoreController: SD card init failed" << std::endl; } } - else { - if(not sdInfo.initFinished) { - sdStateMachine(); - } - } + sdStateMachine(); result = initVersionFile(); if(result != HasReturnvaluesIF::RETURN_OK) { sif::warning << "CoreController::initialize: Version initialization failed" << std::endl;