This commit is contained in:
parent
b1e8be2ba5
commit
0135bebc70
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user