eive-obsw/mission/utility/DummySdCardManager.h
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

19 lines
621 B
C++

#ifndef BSP_LINUX_BOARD_RPISDCARDMANAGER_H_
#define BSP_LINUX_BOARD_RPISDCARDMANAGER_H_
#include <mission/memory/SdCardMountedIF.h>
class DummySdCardManager : public SdCardMountedIF {
public:
DummySdCardManager(std::string prefix);
const char* getCurrentMountPrefix() const override;
bool isSdCardUsable(std::optional<sd::SdCard> sdCard) override;
std::optional<sd::SdCard> getPreferredSdCard() const override;
void setActiveSdCard(sd::SdCard sdCard) override;
std::optional<sd::SdCard> getActiveSdCard() const override;
private:
std::string prefix;
};
#endif /* BSP_LINUX_BOARD_RPISDCARDMANAGER_H_ */