checked FS usage
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2022-10-25 11:31:06 +02:00
parent f198a401f2
commit b1e8be2ba5
7 changed files with 38 additions and 4 deletions

View File

@ -574,7 +574,7 @@ void SdCardManager::setActiveSdCard(sd::SdCard sdCard) {
std::optional<sd::SdCard> SdCardManager::getActiveSdCard() const {
MutexGuard mg(mutex);
if(markedUnusable) {
if (markedUnusable) {
return std::nullopt;
}
return sdInfo.active;