eive-obsw/mission/utility/DummySdCardManager.cpp

14 lines
564 B
C++
Raw Permalink Normal View History

2022-12-14 09:53:38 +01:00
#include "DummySdCardManager.h"
DummySdCardManager::DummySdCardManager(std::string prefix) : prefix(std::move(prefix)) {}
2023-02-22 18:06:34 +01:00
const char* DummySdCardManager::getCurrentMountPrefix() const { return prefix.c_str(); }
2022-12-14 09:53:38 +01:00
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; }