eive-obsw/mission/utility/DummySdCardManager.cpp
Robin Mueller 9c217ad91e
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
now hosted should compile again
2022-12-14 09:53:38 +01:00

14 lines
563 B
C++

#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; }