eive-obsw/bsp_linux_board/RPiSdCardManager.cpp

14 lines
532 B
C++
Raw Normal View History

2022-09-12 17:09:27 +02:00
#include "RPiSdCardManager.h"
RPiSdCardManager::RPiSdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
2022-09-12 17:09:27 +02:00
const std::string& RPiSdCardManager::getCurrentMountPrefix() const { return prefix; }
2022-09-12 17:09:27 +02:00
2022-10-04 23:04:50 +02:00
bool RPiSdCardManager::isSdCardUsable(sd::SdCard sdCard) { return true; }
2022-09-12 17:09:27 +02:00
std::optional<sd::SdCard> RPiSdCardManager::getPreferredSdCard() const { return std::nullopt; }
2022-09-12 17:09:27 +02:00
void RPiSdCardManager::setActiveSdCard(sd::SdCard sdCard) {}
std::optional<sd::SdCard> RPiSdCardManager::getActiveSdCard() const { return std::nullopt; }