eive-obsw/bsp_linux_board/RPiSdCardManager.cpp
Robin Mueller 1a192cd8fb
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
found the bug
2022-10-04 23:04:50 +02:00

14 lines
532 B
C++

#include "RPiSdCardManager.h"
RPiSdCardManager::RPiSdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
const std::string& RPiSdCardManager::getCurrentMountPrefix() const { return prefix; }
bool RPiSdCardManager::isSdCardUsable(sd::SdCard sdCard) { return true; }
std::optional<sd::SdCard> RPiSdCardManager::getPreferredSdCard() const { return std::nullopt; }
void RPiSdCardManager::setActiveSdCard(sd::SdCard sdCard) {}
std::optional<sd::SdCard> RPiSdCardManager::getActiveSdCard() const { return std::nullopt; }