impl bugfix
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-10-25 11:33:21 +02:00
parent b1e8be2ba5
commit 0135bebc70
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -475,7 +475,9 @@ bool SdCardManager::isSdCardUsable(std::optional<sd::SdCard> sdCard) {
return false;
}
if (not sdCard) {
sdCard == sd::BOTH;
if (active.first == sd::MOUNTED or active.second == sd::MOUNTED) {
return true;
}
}
if (sdCard == sd::SLOT_0) {
if (active.first == sd::MOUNTED) {