eive-obsw/mission/utility/DummySdCardManager.cpp

14 lines
563 B
C++
Raw Normal View History

2022-12-14 09:53:38 +01:00
#include "DummySdCardManager.h"
DummySdCardManager::DummySdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
const std::string& DummySdCardManager::getCurrentMountPrefix() const { return prefix; }
bool DummySdCardManager::isSdCardUsable(std::optional<sd::SdCard> sdCard) { return true; }
std::optional<sd::SdCard> DummySdCardManager::getPreferredSdCard() const { return std::nullopt; }
void DummySdCardManager::setActiveSdCard(sd::SdCard sdCard) {}
std::optional<sd::SdCard> DummySdCardManager::getActiveSdCard() const { return std::nullopt; }