This commit is contained in:
parent
4649a75d40
commit
fb3214fef9
@ -544,8 +544,8 @@ ReturnValue_t SdCardManager::performFsck(sd::SdCard sdcard, bool printOutput, in
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SdCardManager::setActiveSdCard(sd::SdCard sdCard) {
|
void SdCardManager::setActiveSdCard(sd::SdCard sdCard) {
|
||||||
sdInfo.active = sdCard;
|
|
||||||
MutexGuard mg(mutex);
|
MutexGuard mg(mutex);
|
||||||
|
sdInfo.active = sdCard;
|
||||||
if (sdInfo.active == sd::SdCard::SLOT_0) {
|
if (sdInfo.active == sd::SdCard::SLOT_0) {
|
||||||
currentPrefix = SD_0_MOUNT_POINT;
|
currentPrefix = SD_0_MOUNT_POINT;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user