eive-obsw/mission/utility/DummySdCardManager.cpp
Robin Mueller 90c1d45f20
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
correction for prefix handling on Q7S
2023-02-22 18:06:34 +01:00

14 lines
564 B
C++

#include "DummySdCardManager.h"
DummySdCardManager::DummySdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
const char* DummySdCardManager::getCurrentMountPrefix() const { return prefix.c_str(); }
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; }