v1.15.0 #311
@ -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