fixes for NO_INIT code

This commit is contained in:
Robin Müller 2021-08-08 12:39:53 +02:00
parent a3eb6b2093
commit 51dbc95750
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -146,8 +146,9 @@ ReturnValue_t CoreController::sdStateMachine() {
if(sdInfo.state == SdStates::START) {
#if Q7S_SD_CARD_CONFIG == Q7S_SD_NONE
sif::info << "No SD card initialization will be performed" << std::endl;
sdInfo.state == SdStates::IDLE;
sdInfo.state = SdStates::IDLE;
sdInfo.initFinished = true;
return result;
#else
sdInfo.cycleCount = 0;
sdInfo.commandExecuted = false;