eive-obsw/bsp_linux_board/RPiSdCardManager.cpp
Robin Mueller 3fa2c63a03
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
add EM code
2022-10-05 14:38:48 +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; }