Non Blocking SD Card Initialization #75
@ -146,8 +146,9 @@ ReturnValue_t CoreController::sdStateMachine() {
|
|||||||
if(sdInfo.state == SdStates::START) {
|
if(sdInfo.state == SdStates::START) {
|
||||||
#if Q7S_SD_CARD_CONFIG == Q7S_SD_NONE
|
#if Q7S_SD_CARD_CONFIG == Q7S_SD_NONE
|
||||||
sif::info << "No SD card initialization will be performed" << std::endl;
|
sif::info << "No SD card initialization will be performed" << std::endl;
|
||||||
sdInfo.state == SdStates::IDLE;
|
sdInfo.state = SdStates::IDLE;
|
||||||
sdInfo.initFinished = true;
|
sdInfo.initFinished = true;
|
||||||
|
return result;
|
||||||
#else
|
#else
|
||||||
sdInfo.cycleCount = 0;
|
sdInfo.cycleCount = 0;
|
||||||
sdInfo.commandExecuted = false;
|
sdInfo.commandExecuted = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user