v1.15.0 #311

Merged
muellerr merged 107 commits from develop into main 2022-10-27 11:28:49 +02:00
Showing only changes of commit 0135bebc70 - Show all commits

View File

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