Non Blocking SD Card Initialization #75

Merged
meierj merged 25 commits from mueller/non-blocking-sd-card-init into develop 2021-08-09 14:18:49 +02:00
Showing only changes of commit 4a74a3ac37 - Show all commits

View File

@ -174,7 +174,7 @@ ReturnValue_t PlocUpdater::getImageLocation(const uint8_t* data, size_t size) {
} }
bool PlocUpdater::isSdCardMounted(sd::SdCard sdCard) { bool PlocUpdater::isSdCardMounted(sd::SdCard sdCard) {
SdCardManager::SdStatusPair active; SdCardManager::SdStatePair active;
ReturnValue_t result = sdcMan->getSdCardActiveStatus(active); ReturnValue_t result = sdcMan->getSdCardActiveStatus(active);
if (result != RETURN_OK) { if (result != RETURN_OK) {
sif::debug << "PlocUpdater::isSdCardMounted: Failed to get SD card active state"; sif::debug << "PlocUpdater::isSdCardMounted: Failed to get SD card active state";