eive-obsw/bsp_linux_board/RPiSdCardManager.cpp
Irini Kosmidou a1cc5b0ca7
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
Merge remote-tracking branch 'origin/develop' into irini
2022-09-27 17:36:19 +02:00

14 lines
533 B
C++

#include "RPiSdCardManager.h"
RPiSdCardManager::RPiSdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
const std::string& RPiSdCardManager::getCurrentMountPrefix() const { return prefix; }
bool RPiSdCardManager::isSdCardMounted(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; }