some more fixes

This commit is contained in:
2021-07-12 15:58:43 +02:00
committed by Robin Mueller
parent ec2f15cf54
commit 89b6eb8943
4 changed files with 8 additions and 8 deletions

View File

@ -90,7 +90,7 @@ ReturnValue_t SdCardManager::switchOffSdCard(sd::SdCard sdCard, bool doUnmountSd
if(result != HasReturnvaluesIF::RETURN_OK) {
return result;
}
// Not allowed, this function turns on off SD card
// Not allowed, this function turns off one SD card
if(sdCard == sd::SdCard::BOTH) {
sif::warning << "SdCardManager::switchOffSdCard: API does not allow sd::SdStatus::BOTH"
<< std::endl;